c/3530: shorter version

Blair Kelly III bfkelly@afterlife.ncsc.mil
Mon Jul 2 07:32:00 GMT 2001


I believe the following is a shorter version of
C code that shows bug 

c/3530: Internal compiler error in change_address, at emit-rtl.c:1635

------ foo.c ------
double foo()
{
  int array[1019];  /* 1019 is smallest value */
  double a;

  a = sub1();
  sub2();
  if (a < 0) a = 1;
  return a;
}
-------------------

Blair Kelly



More information about the Gcc-bugs mailing list