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: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2008 10:39:19 -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 #18 from fxcoudert at gcc dot gnu dot org 2008-12-11 10:39 -------
(In reply to comment #17)
> var = gfc_create_var (TREE_TYPE (expr), NULL);
>
> is replaced with
>
> + tree tmp = gfc_create_var (gfc_charlen_type_node, "slength");
>
> Has "slength" any chance to make a difference compared to NULL?
You're just giving an explicit name to the variable instead of having it called
D.number, it shouldn't make any difference.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35937