[EGCS 2.96, 2000/01/31 snapshot, i586, gcc] Internal compiler error using -Wall and -O2

Marco Goetze gomar@mindless.com
Wed Feb 2 04:07:00 GMT 2000


The following file from the v2.3.42 Linux kernel source tree causes an
internal compiler when compiled via:

  gomar@/home/gomar/bug> gcc -D__KERNEL__ -DCPU=586 -Wall -O2 -c -I. sched.c
  sched.c: In function `__wake_up':
  sched.c:695: Internal compiler error in `copy_rtx_and_substitute', at
    integrate.c:2050
  Please submit a full bug report.

Omitting "-Wall" produces merely an error.

Attaching a .tar.bz2 archive containing all relevant files.


  OS:             Linux 2.3.40
  compiler:       EGCS 2.96, 2000/01/31 snapshot
  compiler setup: native i586-pc-linux-gnu, configure switches:
                    --enable-shared --prefix=/usr
  glibc version:  2.1.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.tar.bz2
Type: application/x-bzip2
Size: 36539 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000202/e3bfde3f/attachment.bz2>


More information about the Gcc-bugs mailing list