[Bug tree-optimization/27218] [4.1/4.2 regression] ICE in get_indirect_ref_operands, at tree-ssa-operands.c:1515, inlining produces non-gimple

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Apr 22 18:13:00 GMT 2006



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-04-22 18:13 -------
The inliner is not producing the NOP_EXPR at all
but instead if comes from build_fold_addr_expr_with_type
And:
      if (TREE_TYPE (t) != ptrtype)
        t = build1 (NOP_EXPR, ptrtype, t);

Here the types don't match but they are compatible.


-- 


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



More information about the Gcc-bugs mailing list