[Bug c/49413] over-optimization that causes valid code to segfault

2011-06-14 Thread gattis at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413 --- Comment #3 from Matt Gattis 2011-06-15 00:39:06 UTC --- Created attachment 24531 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24531 verbose gcc output

[Bug c/49413] over-optimization that causes valid code to segfault

2011-06-14 Thread gattis at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413 --- Comment #2 from Matt Gattis 2011-06-15 00:38:29 UTC --- Created attachment 24530 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24530 verbose gcc output

[Bug c/49413] over-optimization that causes valid code to segfault

2011-06-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413 --- Comment #1 from Andrew Pinski 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.