This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/21389] optimized code seg faults due to double load on sparcV9
- From: "drew dot johnson at andrew dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 May 2005 19:38:28 -0000
- Subject: [Bug c/21389] optimized code seg faults due to double load on sparcV9
- References: <20050504193418.21389.drew.johnson@andrew.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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