------- Comment #1 from krzysiek-gcc dot gnu dot org at lichota dot net  
2005-11-09 19:46 -------
Created an attachment (id=10193)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10193&action=view)
Testcase for the bug

This is the testcase. Compile with:
g++-4.0 -save-temps -fPIC -ggdb3 -Wno-non-virtual-dtor -O0 -pthread
-fkeep-inline-functions testcase10.cpp

When both calls to bar() are instantiated, the segfault occurs.
When only one is instantiated (the other is commented out), it works correctly.


-- 


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

Reply via email to