On Mon, Jun 11, 2012 at 5:15 AM, Richard Guenther <rguent...@suse.de> 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 range to [1, 0] because much more > code relies on a zero lower bound ...). > > The following fixes that by using double-ints for the arithmetic > and thus also does not generate a not needed tree node. > > Bootstrapped and tested on x86_64-unknown-linux-gnu, ok? > > Thanks, > Richard. > > 2012-06-11 Richard Guenther <rguent...@suse.de> > > PR c++/53616 > * mangle.c (write_array_type): Use double-ints for array domain > arithmetic. >
This caused: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53752 -- H.J.