--- Comment #5 from burnus at gcc dot gnu dot org 2008-09-08 07:21 ---
Subject: Bug 37400
Author: burnus
Date: Mon Sep 8 07:19:46 2008
New Revision: 140100
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140100
Log:
2008-09-07 Tobias Burnus [EMAIL PROTECTED]
PR
--- Comment #6 from burnus at gcc dot gnu dot org 2008-09-08 07:38 ---
FIXED on the trunk (4.4.0).
(I'm not sure whether it fully works with 4.3.x - I get a segmentation fault
after the third line is correctly printed. The cause that it was failing on 4.4
was the patch for PR 36476;
--- Comment #1 from burnus at gcc dot gnu dot org 2008-09-07 07:50 ---
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
--- 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
--- Comment #3 from dominiq at lps dot ens dot fr 2008-09-07 09:13 ---
Subject: Re: [4.4 Regression] implicit
character(len=*,kind=kind('A')) (Q) ... no longer gives the right answer.
But your patch looks good, just intuitively...
The patch works as expected, at least on my quick
--- Comment #4 from dominiq at lps dot ens dot fr 2008-09-07 21:10 ---
Regtests passed without regressions on i686-apple-darwin9. Thanks again for the
patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37400
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||pinskia at gcc dot gnu dot
|