Problem with your 1999-11-23 change

Billinghurst, David (RTD) David.Billinghurst@riotinto.com.au
Fri Dec 31 20:54:00 GMT 1999


http://gcc.gnu.org/ml/gcc-bugs/1999-12/msg00367.html crashes in the same
place.  Snap?

> -----Original Message-----
> From:	Jeffrey A Law [SMTP:law@cygnus.com]
> Sent:	Tuesday, 14 December 1999 15:14
> To:	Mark Mitchell
> Cc:	Bernd Schmidt; gcc-bugs@gcc.gnu.org
> Subject:	Re: Problem with your 1999-11-23 change 
> 
> 
> If you haven't already, could you add that testcase to the testsuite?
> 
> Thanks,
> jeff
>   In message < 19991213015253G.mitchell@codesourcery.com >you write:
> [ ... ]
>   > is causing the attached C++ test-case to crash with -O on
>   > x86-pc-linux-gnu.  In try_copy_prop, we're crashing here:
>   > 
>   > 	  if (REGNO_FIRST_UID (regno) == INSN_UID (insn))
>   > 	    store_is_first = 1;
>   > 
>   > because regno is 29, and the reg_n_info array only contains 29
>   > entries.  The REG in question is allocated eariler by load_mems.
>   > 
>   > I wasn't quite sure what you were intending here, so I'll let you
>   > straighten this out.
>   >   
>   > --
>   > Mark Mitchell                   mark@codesourcery.com
>   > CodeSourcery, LLC               http://www.codesourcery.com
>   > 
>   > =============================================================
>   > extern int N;
>   > extern int nrows;
>   > extern int or_num_angles;
>   > 
>   > typedef struct
>   > {
>   >   double value;
>   >   int count;
>   > }Histo;
>   > 
>   > Histo add_histo[10][2][36][36];
>   > 
>   > void cmd_connection_statistics( )
>   > {
>   >   int i,j,k,m;
>   > 
>   >   for(i=0; i<nrows; i++){
>   >       for(j=0; j< 2; j++)
>   > 	for(k=0; k< or_num_angles; k++)
>   > 	;
>   >   }
>   > }
>   > 
> 



More information about the Gcc-bugs mailing list