re PR tree-optimization/80334 (Segfault when taking address of copy of unaligned...
authorRichard Biener <rguenther@suse.de>
Thu, 6 Apr 2017 13:56:35 +0000 (13:56 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 6 Apr 2017 13:56:35 +0000 (13:56 +0000)
commit09b63f67a11096fb9aa163f9936909bded2e690b
treeda3f3563b3e45068a62272cac655c0a59901f435
parentd9f8c5af8bc43681764923379dc465b62b56877a
re PR tree-optimization/80334 (Segfault when taking address of copy of unaligned struct)

2017-04-06  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80334
* tree-ssa-loop-ivopts.c (rewrite_use_address): Properly
preserve alignment of accesses.

* g++.dg/torture/pr80334.C: New testcase.

From-SVN: r246731
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr80334.C [new file with mode: 0644]
gcc/tree-ssa-loop-ivopts.c