re PR tree-optimization/48377 (miscompilation at -O3)
authorJakub Jelinek <jakub@redhat.com>
Fri, 8 Apr 2011 11:38:19 +0000 (13:38 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 8 Apr 2011 11:38:19 +0000 (13:38 +0200)
commit554f1948b9c4fdbf3920666dc5b2814fe821b627
treebf2fe054bea423fc3d65be0e7b74f00fc932add1
parentddf723888e5a2cd7714832efb90ada82713a66e0
re PR tree-optimization/48377 (miscompilation at -O3)

PR tree-optimization/48377
* tree-vect-data-refs.c (vector_alignment_reachable_p): Set
is_packed to true even for types with smaller TYPE_ALIGN than
TYPE_SIZE.

* gcc.dg/vect/pr48377.c: New test.

From-SVN: r172172
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr48377.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c