Mail Archives: pgcc/1998/04/17/09:19:46
Hi all!
Yesterday I tried to compile gaussian 94 (quantum chemistry) with higher
optimization levels. I got following error:
pgcc -fPIC -DDEFMAXSHL=2500 -DDEFMAXATM=1000 -DDEFMAXNZ=1200 -DDEFNVDIM=257 -DDEFARCREC=1024 -DDEFLMAX=13 -DDEFN3MIN=10 -DDEFMAXOP=120 -D_i386_ -Di386 -DGAUSS_PAR -DNO_ERRNO -DLITTLE_END -traditional -march=pentium -O6 -ffast-math -malign-double -mstack-align-double -o davmap.o -c davmap.c
davmap.c: In function `davmap_':
davmap.c:249: internal error--unrecognizable insn:
(insn 325 323 327 (set (mem:SI (plus:SI (reg:SI 7 %esp)
(const_int 96)))
(mem:SI (plus:SI (reg:SI 7 %esp)
(const_int 96)))) -1 (insn_list 321 (nil))
(expr_list:REG_DEAD (mem:SI (plus:SI (reg:SI 7 %esp)
(const_int 96)))
(nil)))
pgcc: Internal compiler error: program cc1 got fatal signal 6
The error does appear for -O5 and -O6 and all -On, n>1 with additional
-fomit-frame-pointer. Doesn't appear for -O6 -fno-omit-frame-pointer
and -O1 -fomit-frame-pointer. Repeatable.
Pgcc 1.0.2, libc 5.4.38. Same result with pgcc 1.0.1.
Does anybody want to look at the function which causes the error
(ugly, f2c translated)?
Krzysztof
- Raw text -