------- Comment #2 from tavianator at gmail dot com  2010-04-26 23:47 -------
Created an attachment (id=20497)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20497&action=view)
Full testcase

Proper output:

Stored: 0x40071c
Got:    0x40071c
Hello world!

Output with -O -foptimize-sibling-calls:

Stored: 0x40070c
Got:    0x1
[1]    15940 segmentation fault (core dumped)  ./a.out


-- 


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

Reply via email to