This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/18005] [4.0 Regression] ICE in fold-const.c/fold


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-15 13:25 -------
Confirmed, reduced to:
extern int printf (__const char *__restrict __format, ...);
const int nseq = 3;
const int nrnd = 50;
void fail () __attribute__ ((__noreturn__));
long random();

int
main (void)
{
  long int rnd[3][nrnd];
  char* state[nseq];
  int s;
  int i;
  
  for (i = 0; i < nrnd; ++i)
    for (s = 0; s < nseq; ++s)
      if (rnd[s][i] != random ())
	fail ();
  
  return 0;
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dberlin at gcc dot gnu dot
                   |                            |org, spop at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-15 13:26:01
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18005


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]