[Bug c++/16027] Enabling optimisation causes segfault

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 17 00:16:00 GMT 2004


------- Additional Comments From bangerth at dealii dot org  2004-06-17 00:16 -------
Even if it were a larger testcase that would help us. 
 
As to why the compiler is using a different function in one library than 
in another: the library prohibits you from redefining a global function to 
be different in two translation units (that includes the source files from 
which libstdc++ is compiled on the one hand, and your application program 
on the other hand). If you violate this, you have to expect almost everything. 
Note in particular, that you can't control whether inlining is used inside 
libstdc++, since this is compiled when the compiler itself is built, not 
when you compile your application. 
 
W. 

-- 


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



More information about the Gcc-bugs mailing list