[Bug middle-end/53433] [4.8 Regression] ICE in int_mode_for_mode, at stor-layout.c:424 during lto-bootstrap

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 4 11:31:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53433

--- Comment #26 from Uros Bizjak <ubizjak at gmail dot com> 2012-07-04 11:30:26 UTC ---
(In reply to comment #25)

> So, does
> 
> Index: gimple-fold.c
> ===================================================================
> --- gimple-fold.c       (revision 189251)
> +++ gimple-fold.c       (working copy)
> @@ -2713,6 +2713,8 @@ get_base_constructor (tree base, HOST_WI
>        if (!DECL_INITIAL (base)
>           && (TREE_STATIC (base) || DECL_EXTERNAL (base)))
>          return error_mark_node;
> +      if (DECL_INITIAL (base) == error_mark_node)
> +       return NULL_TREE;
>        return DECL_INITIAL (base);
> 
>      case ARRAY_REF:
> 
> fix it?

Let me restart the bootstrap, I will report ASAP.

BTW: There is no referece to insn_data in failing expand_builtin_strcmp objdump
asm dump.



More information about the Gcc-bugs mailing list