This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/28722] Fortran front-end produces mismatch trees



------- Comment #6 from tobi at gcc dot gnu dot org  2007-03-21 15:04 -------
I don't understand why it fails in the fourth case.  The comparison it seems to
complain about is generated via
  return build2 (NE_EXPR, boolean_type_node, decl,
                 fold_convert (TREE_TYPE (decl), null_pointer_node));
(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.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]