re PR middle-end/58041 (Unaligned access to arrays in packed structure)
authorMartin Jambor <mjambor@suse.cz>
Tue, 6 Aug 2013 09:22:16 +0000 (11:22 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Tue, 6 Aug 2013 09:22:16 +0000 (11:22 +0200)
commit78f6dd686219c887085d40b3dacfb7f1a96aad95
tree730d33490774e04b2abb023fd8b3dd4ca868bf3f
parenta3d4b3d7dba285bd194463dee6ab6d1e522f53bc
re PR middle-end/58041 (Unaligned access to arrays in packed structure)

2013-08-06  Martin Jambor  <mjambor@suse.cz>

PR middle-end/58041
* gimple-ssa-strength-reduction.c (replace_ref): Make sure built
MEM_REF has proper alignment information.

testsuite/
* gcc.dg/torture/pr58041.c: New test.
* gcc.target/arm/pr58041.c: Likewise.

From-SVN: r201523
gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr58041.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/pr58041.c [new file with mode: 0644]