re PR tree-optimization/71083 (Unaligned bit-field address when predictive commoning)
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 11 Aug 2016 13:07:29 +0000 (13:07 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Thu, 11 Aug 2016 13:07:29 +0000 (13:07 +0000)
commit5953774463a728b111d685f9840ff6935229b8d6
treed40aa43345c886e9b92620dd9a33350b139f2768
parent2d71f118839eae04db411982ca9c578e72038461
re PR tree-optimization/71083 (Unaligned bit-field address when predictive commoning)

2016-08-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR tree-optimization/71083
        * tree-predcom.c (ref_at_iteration): Correctly align the
        reference type.

testsuite:
2016-08-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR tree-optimization/71083
        * gcc.c-torture/execute/pr71083.c: New test.
        * gnat.dg/loop_optimization23.adb: New test.
        * gnat.dg/loop_optimization23_pkg.ads: New test.
        * gnat.dg/loop_optimization23_pkg.adb: New test.

From-SVN: r239362
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr71083.c [new file with mode: 0644]
gcc/testsuite/gnat.dg/loop_optimization23.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/loop_optimization23_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/loop_optimization23_pkg.ads [new file with mode: 0644]
gcc/tree-predcom.c