A failure from http://gcc.gnu.org/ml/gcc-cvs/2002-10/msg00839.html

Andreas Jaeger aj@suse.de
Mon Oct 28 06:10:00 GMT 2002


Kazu Hirata <kazu@cs.umass.edu> writes:

> Hi,
>
> http://gcc.gnu.org/ml/gcc-cvs/2002-10/msg00839.html
>
> After the above patch was installed, I started getting a failure of
> compile/20020530-1.c with "h8300-hms-gcc -O1".
>
> The following is the minimized version of the testcase that still
> causes the same ICE.
>
> extern unsigned char foo ();
>
> int
> bar ()
> {
>   unsigned char q = foo ();
>   return q < 0x80;
> }
>
> The actual ICE looks like
>
> 20020530-1.c: In function `bar':
> 20020530-1.c:8: internal compiler error: virtual array reg_n_info[19]: element 19 out of bounds in init_alias_analysis,
> at alias.c:2814
>
> I haven't analyzed the failure yet.  If somebody has a clue on how
> this might be happening, that would be realy helpful.

There's already a patch for this by Jan on the gcc-patches mailing list,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-patches mailing list