This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32182] -fstrict-aliasing optimizations cause constructor not to run for object causing segfault
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jun 2007 21:16:03 -0000
- Subject: [Bug c++/32182] -fstrict-aliasing optimizations cause constructor not to run for object causing segfault
- References: <bug-32182-10468@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-01 21:16 -------
I am thinking you are volating C++ aliasing rules (though if you convert the
static casts over to placement news it will not work either but that is PR
29286).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32182