[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:39:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69796
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|bernds at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 37804
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37804&action=edit
gcc6-pr69796-1.patch
As the other PRs clearly show, the middle-end is simply unprepared to have
error_mark_node type on the VAR_DECLs appearing so late in the IL.
So, IMHO we have two options, either set TREE_TYPE to some random other valid
type, as this patch...
More information about the Gcc-bugs
mailing list