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/35937] Wrong type for charlength of function



------- 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


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