This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g77 compiler error in egcs-1.1.2
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: g77 compiler error in egcs-1.1.2
- From: "Paul H. Hargrove" <hargrove at sccm dot Stanford dot EDU>
- Date: Mon, 15 Mar 1999 22:37:50 -0800 (PST)
I am using the 1.1.2 release (but this bug was also in the 1.1.1
release) on a hppa1.1-hp-hpux10.20 system (build with --enable-shared
--with-gnu-as). When compiling ftp://www.netlib.org/linpack/cqrdc.f I
get:
[phargrov@plumb ~] f77 -c cqrdc.f -o cqrdc.o -O1
cqrdc.f: In subroutine `cqrdc':
cqrdc.f:212: internal error--unrecognizable insn:
(insn 880 864 885 (set (reg:SF 418)
(mem/s:SF (plus:SI (reg:SI 265)
(reg:SI 405)))) -1 (nil)
(nil))
../../gcc/toplev.c:1367: Internal compiler error in function fatal_insn
[phargrov@plumb ~] f77 --version
GNU Fortran 0.5.24-19981002
[snip]
With -O2 or -O3 the message is slightly different:
[phargrov@plumb ~] f77 -c cqrdc.f -o cqrdc.o -O2
cqrdc.f: In subroutine `cqrdc':
cqrdc.f:212: internal error--unrecognizable insn:
(insn 882 907 887 (set (reg:SF 421)
(mem/s:SF (plus:SI (reg:SI 265)
(reg:SI 357)))) -1 (insn_list:REG_DEP_ANTI 852 (nil))
(nil))
../../gcc/toplev.c:1367: Internal compiler error in function fatal_insn
With no optimization this file compiles just fine.
--
Paul H. Hargrove All material not otherwise attributed
hargrove@sccm.stanford.edu is the opinion of the author or a typo.