Add VIEW_CONVERT_EXPR to operand_equal_p
Eric Botcazou
ebotcazou@adacore.com
Tue Nov 3 10:26:00 GMT 2015
> I suggest to re-instantiate the canonical type checks for the aggregate type
> case.
OK, thanks, this fixes all the known ICEs so far.
Tested on x86_64-suse-linux, OK for the mainline?
2015-11-03 Eric Botcazou <ebotcazou@adacore.com>
* gimple-expr.c (useless_type_conversion_p): Reinstate type canonical
check for aggregate types and beef up comment for mode check.
2015-11-03 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/discr45.adb: Only compile the test.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 1194 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151103/8df87921/attachment.bin>
More information about the Gcc-patches
mailing list