https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71083
--- Comment #11 from Bernd Edlinger <edlinger at gcc dot gnu.org> --- Author: edlinger Date: Fri Aug 12 18:56:30 2016 New Revision: 239424 URL: https://gcc.gnu.org/viewcvs?rev=239424&root=gcc&view=rev Log: 2016-08-12 Bernd Edlinger <bernd.edlin...@hotmail.de> Backport from mainline 2016-08-11 Bernd Edlinger <bernd.edlin...@hotmail.de> PR tree-optimization/71083 * tree-predcom.c (ref_at_iteration): Correctly align the reference type. testsuite: 2016-08-12 Bernd Edlinger <bernd.edlin...@hotmail.de> Backport from mainline 2016-08-11 Bernd Edlinger <bernd.edlin...@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. Added: branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr71083.c branches/gcc-5-branch/gcc/testsuite/gnat.dg/loop_optimization23.adb branches/gcc-5-branch/gcc/testsuite/gnat.dg/loop_optimization23_pkg.adb branches/gcc-5-branch/gcc/testsuite/gnat.dg/loop_optimization23_pkg.ads Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/tree-predcom.c