------- Comment #7 from pault at gcc dot gnu dot org  2007-04-10 09:28 -------
(In reply to comment #6)
Tobi,

> (trans-expr.c:141) which looks like it gets the types right.  Replacing the
> call to fold_convert with an equivalent call to build_int_cst doesn't help
> either, BTW.

Does casting the decl to be of the same type as null_pointer_node help?
ie;

  decl = fold_convert (TREE_TYPE (null_pointer_node), decl);

  return build2 (NE_EXPR, boolean_type_node, decl, null_pointer_node);

Paul


-- 


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

Reply via email to