This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49413] over-optimization that causes valid code to segfault
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Jun 2011 00:34:54 +0000
- Subject: [Bug c/49413] over-optimization that causes valid code to segfault
- Auto-submitted: auto-generated
- References: <bug-49413-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-06-15 00:34:37 UTC ---
I think this code is undefined as the alignment requirements of double is 8
bytes but the original (t->xyz->va/t->xyz->vb) is packed so it has a alignment
of 4 bytes.