------- Comment #10 from pluto at agmk dot net  2007-04-30 15:16 -------
i can reproduce testcase4 on [EMAIL PROTECTED]

$ g++ 30252.cpp -O1 -fstrict-aliasing -g3 && ./a.out
zsh: segmentation fault  ./a.out

(gdb) bt
#0  0x00002adee263dbc0 in _rtld_local_ro () from /lib64/ld-linux-x86-64.so.2
#1  0x0000000000400654 in sigc::internal::slot_call0<sigc::bind_functor<-1,
sigc::pointer_functor1<void*, void*>, long*> >::call_it (
    rep=0x601010) at 30252.cpp:73
#2  0x000000000040062b in main () at 30252.cpp:238

it works with -O1 -fno-strict-aliasing.


-- 


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

Reply via email to