[Bug c/21389] optimized code seg faults due to double load on sparcV9

drew dot johnson at andrew dot com gcc-bugzilla@gcc.gnu.org
Wed May 4 19:39:00 GMT 2005


------- Additional Comments From drew dot johnson at andrew dot com  2005-05-04 19:38 -------
Created an attachment (id=8820)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8820&action=view)
compile with -O3 or higher, and execution generates seg-fault

The included file compiles with just -O3 or higher as arguments.  It should run
and print a bunch of lines to stdout, then exit normally.  When compiled at -O3
or higher, it generates a bus-error on the command line, due to a segmentation
violation signal when run from the debugger.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21389



More information about the Gcc-bugs mailing list