This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 4 Aug 2011 21:17:19 +0000
- Subject: [Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.
- Auto-submitted: auto-generated
- References: <bug-49638-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49638
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |janus at gcc dot gnu.org
|gnu.org |
--- Comment #15 from janus at gcc dot gnu.org 2011-08-04 21:16:48 UTC ---
(In reply to comment #14)
> > That can be done quicker as:
> > if (e1->symtree->n.sym->name == e1->symtree->n.sym->name)
> >
>
> Hopefully, the above is optimized away by the c compiler.
> I suspect that one of the 'e1' should be an 'e2'.
Yes, of course (noted already in comment #11).
Also: Taking this one.