This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35937] Wrong type for charlength of function
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2008 16:28:37 -0000
- Subject: [Bug fortran/35937] Wrong type for charlength of function
- References: <bug-35937-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pault at gcc dot gnu dot org 2008-07-23 16:28 -------
(In reply to comment #4)
Hi FX
Your patch looks fine to me. In particular, you have tackled it at the right
place. However, I have a question: why is this not sufficient?
se.expr = gfc_evaluate_now (fold_convert (gfc_charlen_type_node), &se.pre);
Cheers
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35937