]> git.ipfire.org Git - thirdparty/gcc.git/commit
gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
authorOlivier Hainque <hainque@adacore.com>
Sat, 24 Jun 2006 12:47:48 +0000 (12:47 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Sat, 24 Jun 2006 12:47:48 +0000 (12:47 +0000)
commit61c25908fdbf3b6c29334ff84b30fcfaa2e29880
treeb0b48b70fe5bdb5192ddb541aa32d97ef613a126
parent7606c786fd0d802f142f18e0cfbb643ad79cc8ec
gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.

* gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
(gimplify_expr): Use it for tcc_comparison of operands of non BLKmode
aggregate types.

* tree-ssa-loop-im.c (for_each_index): Handle ARRAY_RANGE_REF as
ARRAY_REF, so have the callback called for the low bound expression.

* gnat.dg/scalar_mode_agg_compare_loop.adb: New test.
* gnat.dg/scalar_mode_agg_compare.adb: New test.

From-SVN: r114963
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/scalar_mode_agg_compare.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/scalar_mode_agg_compare_loop.adb [new file with mode: 0644]
gcc/tree-ssa-loop-im.c