[Bug c++/32182] -fstrict-aliasing optimizations cause constructor not to run for object causing segfault

epperly2 at llnl dot gov gcc-bugzilla@gcc.gnu.org
Fri Jun 1 22:14:00 GMT 2007



------- Comment #8 from epperly2 at llnl dot gov  2007-06-01 22:14 -------
I've simplified the sample case that demonstrates the problem, and it has *no*
casting in C++. In C, it casts the result of malloc to the appropriate pointer
type.


-- 


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



More information about the Gcc-bugs mailing list