This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28908] [4.1/4.2 Regression]: fold_convert fails for Fortran operator
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2006 18:11:10 -0000
- Subject: [Bug fortran/28908] [4.1/4.2 Regression]: fold_convert fails for Fortran operator
- References: <bug-28908-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from hjl at lucon dot org 2006-08-31 18:11 -------
I think the issue may be that gfc_get_derived_type creates a new TREE_TYPE for
the same type when there is an existing one. type1 == type2 no longer
works when type1 and type2 have different memory locations even if they are
the same.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28908