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]

Internal compiler error for K6


The current snapshot (20000508) won't compile this small program for K6
with -O2.

int n,a[10]; char b[10];
void foo (void)
{
  int j;
  for (j = n-1; j >= 0; j--)
    if (a[j] && b[j]) return;
}

[root@foo gcc]# stage1/xgcc -Bstage1/ -c -march=k6 -O2 test1.c
test1.c: In function `foo':
test1.c:7: Internal compiler error in `verify_wide_reg_1', at flow.c:2588
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
[root@foo gcc]#



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