This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
1.1.2, Linux/Alpha: -fexpensive-optimizations problem
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: 1.1.2, Linux/Alpha: -fexpensive-optimizations problem
- From: "J.H.M. Dassen" <jdassen at wi dot leidenuniv dot nl>
- Date: Sun, 9 May 1999 15:42:57 +0200
- Cc: 37358 at bugs dot debian dot org
[This bug was reported to me as a co-maintainer of the Debian GNU/Linux EGCS
packages. Please Cc: 37358@bugs.debian.org in your response so it gets
archived in the Debian bugtracking system (http://www.debian.org/Bugs/).
Please Cc me as I'm not on the egcs-bugs list.]
Hi,
A Debian Alpha porter reported internal compiler bugs when compiling
vdkcompo/chart.cc from vdk_0.6.0-5
(ftp://ftp.debian.org/debian/dists/unstable/main/source/libs/vdk*).
I've reduced the trigger to http://www.debian.org/~jdassen/egcs/bug.cc (53
lines).
1)
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -I/usr/lib/glib/include -s -fdefer-pop -fthread-jumps -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks -fgcse -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves -fforce-mem -fschedule-insns -fschedule-insns2 -O1 -Wp,-MD,.deps/bug.pp -c -fPIC -DPIC bug.cc -o bug.lo
../../gcc/reload1.c:2649: Internal compiler error in function verify_initial_elim_offsets
The preprocessed file is available at
http://www.debian.org/~jdassen/egcs/bug.ii.bz2
2) Without -fschedule-insns and -fcaller-saves a different internal
compiler error is generated.
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -I/usr/lib/glib/include -s -fdefer-pop -fthread-jumps -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks -fgcse -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fforce-mem -fschedule-insns2 -O1 -Wp,-MD,.deps/bug.pp -c -fPIC -DPIC bug.cc -o bug.lo
../../gcc/reload1.c:2060: Internal compiler error in function reload
Without -fexpensive-optimizations (i.e. -O2 -fno-expensive-optimizations),
the file compiles fine.
Please let me know what additional information is required.
Greetings,
Ray
--
J.H.M. Dassen | RUMOUR Believe all you hear. Your world may
jdassen@wi.LeidenUniv.nl | not be a better one than the one the blocks
| live in but it'll be a sight more vivid.
| - The Hipcrime Vocab by Chad C. Mulligan