This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37400] [4.4 Regression] implicit character(len=*,kind=kind('A')) (Q) ... no longer gives the right answer.
- From: "domob at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2008 08:34:43 -0000
- Subject: [Bug fortran/37400] [4.4 Regression] implicit character(len=*,kind=kind('A')) (Q) ... no longer gives the right answer.
- References: <bug-37400-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from domob at gcc dot gnu dot org 2008-09-07 08:34 -------
(In reply to comment #1)
> The problem is that for
> implicit character(len=*,kind=kind('A')) (Q)
> the length of the first parameter string is used everywhere. The following
> fixes it, but I have no idea why it is a regression / why it worked before.
Could this have something to do with my used-before-typed patch that might have
changed a little when/why symbols get their IMPLICIT type? Other than that, I
can't imagine anything, either.
But your patch looks good, just intuitively...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37400