]> git.ipfire.org Git - thirdparty/gcc.git/commit
utils2.c (gnat_invariant_expr): Return null if the type of the expression ends up...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 16 Mar 2015 10:09:27 +0000 (10:09 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 16 Mar 2015 10:09:27 +0000 (10:09 +0000)
commitddebd83aaf8f5bee3f1e914c23ef633504a1ec87
tree5afe85995e1abfe411baa6d75da888406ac15323
parent8c1787b9c19ea7cd232c281e3d792372a33d568e
utils2.c (gnat_invariant_expr): Return null if the type of the expression ends up being composite.

* gcc-interface/utils2.c (gnat_invariant_expr): Return null if the type
of the expression ends up being composite.

From-SVN: r221451
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils2.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/loop_optimization18.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/loop_optimization18.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/loop_optimization18_pkg.ads [new file with mode: 0644]