This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

3.4-cvs (today): optimization yields segfaulting code


Hi!

While playing around with opt-flags I encountered some spurious behaviour
of generated code which vanishes if I remove "-O9" from the armada
of flags below:

reproduce with:

# g++ -DNDEBUG -ansi -funroll-loops -finline-functions -O9  -ftime-report -fguess-branch-probability -fssa -fssa-dce  -foptimize-register-move -fcprop-registers
-frerun-loop-opt -frerun-cse-after-loop -floop-optimize  -finline -fpeephole -fmove-all-movables -funroll-all-loops -fstrength-reduce  -ftracer -fmem-report
-march=pentium4  test.ii

# a.out DebugInfoFooter.tex LaTeXFooter.h LaTeXFooter
Segmentation fault


My architecture is an Intel P4 with
Linux 2.4.16-4GB i686 unknown
g++ (GCC) 3.4 20030226 (experimental)


best regards,


Markus


Attachment: demo.tgz
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]