[Bug c/69796] [6 Regression] ICE on invalid code in useless_type_conversion_p, at gimple-expr.c:83
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 26 12:41:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69796
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 37805
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37805&action=edit
gcc6-pr69796-2.patch
Or don't change it at all. If the FE emits error, then we are in error
recovery and don't reach assemble_variable anyway, e.g. symbol_table::compile
does nothing if seen_error (), so I think the risks of emitting the error twice
are low.
More information about the Gcc-bugs
mailing list