gimple-expr.c (useless_type_conversion_p): Reinstate type canonical check for aggrega...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 3 Nov 2015 17:19:30 +0000 (17:19 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 3 Nov 2015 17:19:30 +0000 (17:19 +0000)
commit5993d1c9a36c7b029e9ddea35f71d848d822babc
treef3de57903796486894da59afa2a8a1d3ee7bffd1
parent34148d68c7ac0bd2bb1b499b3bd8a267efbe83ad
gimple-expr.c (useless_type_conversion_p): Reinstate type canonical check for aggregate types and beef up comment for mode...

* gimple-expr.c (useless_type_conversion_p): Reinstate type canonical
check for aggregate types and beef up comment for mode check.

From-SVN: r229714
gcc/ChangeLog
gcc/gimple-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/discr45.adb