[Bug target/15653] [3.4 Regression]: Gcc 3.4 ICE on valid code

hjl at lucon dot org gcc-bugzilla@gcc.gnu.org
Fri Jun 11 23:06:00 GMT 2004


------- Additional Comments From hjl at lucon dot org  2004-06-11 23:05 -------
The bug is not fixed. Please check all testcases in the bug report. The one
failed is lock.c. I am enclosing here again:

[hjl@gnu-4 itanium]$ cat lock.c
extern void __free_pages_bulk (unsigned long);

int
free_pages_bulk(int count, unsigned int order)
{
  unsigned long mask, flags;
  int ret = 0;

  mask = (~0UL) << order;
  asm volatile ("mov %0=psr" : "=r"(flags));
  while (count--) {
    __free_pages_bulk(mask);
  }
  return ret;
}
[hjl@gnu-4 itanium]$ make lock.o
/export/build/gnu/gcc-3.4/build-ia64-linux/gcc/xgcc -B/export/build/gnu/gcc-
3.4/build-ia64-linux/gcc/ -O2 -mtune=itanium   -c -o lock.o lock.c
lock.c: In function `free_pages_bulk':
lock.c:15: internal compiler error: in bundling, at config/ia64/ia64.c:7359
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [lock.o] Error 1


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


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



More information about the Gcc-bugs mailing list