Re: [PATCH][C++] Fix PR53605

2012-06-23 Thread H.J. Lu
On Mon, Jun 11, 2012 at 5:15 AM, Richard Guenther wrote: > > When I changed empty arrays domain to use a signed sizetype [0, -1] > domain mangling of a empty-array-type broke because mangling adds > an unsigned one to the signed -1 which causes an ICE (I chose to > do that instead of shifting the

Re: [PATCH][C++] Fix PR53605

2012-06-11 Thread Jason Merrill
OK. Jason

[PATCH][C++] Fix PR53605

2012-06-11 Thread Richard Guenther
When I changed empty arrays domain to use a signed sizetype [0, -1] domain mangling of a empty-array-type broke because mangling adds an unsigned one to the signed -1 which causes an ICE (I chose to do that instead of shifting the range to [1, 0] because much more code relies on a zero lower bound