This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28722] Fortran front-end produces mismatch trees
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2007 15:04:09 -0000
- Subject: [Bug fortran/28722] Fortran front-end produces mismatch trees
- References: <bug-28722-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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