------- 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