https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71083
--- Comment #10 from Bernd Edlinger <edlinger at gcc dot gnu.org> --- Author: edlinger Date: Fri Aug 12 17:06:44 2016 New Revision: 239423 URL: https://gcc.gnu.org/viewcvs?rev=239423&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-6-branch/gcc/testsuite/gcc.c-torture/execute/pr71083.c branches/gcc-6-branch/gcc/testsuite/gnat.dg/loop_optimization23.adb branches/gcc-6-branch/gcc/testsuite/gnat.dg/loop_optimization23_pkg.adb branches/gcc-6-branch/gcc/testsuite/gnat.dg/loop_optimization23_pkg.ads Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-predcom.c