http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47846
--- Comment #1 from paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> 2011-02-22 10:09:57 UTC --- Jerry, You are not the only one :-) Tobias, I'll take a look-see tonight. Cheers Paul On Tue, Feb 22, 2011 at 10:31 AM, burnus at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47846 > > Summary: Deferred-string length: Length is wrong > Product: gcc > Version: 4.6.0 > Status: UNCONFIRMED > Keywords: wrong-code > Severity: normal > Priority: P3 > Component: fortran > AssignedTo: unassig...@gcc.gnu.org > ReportedBy: bur...@gcc.gnu.org > CC: pa...@gcc.gnu.org > > > The test case allocate_deferred_char_scalar_1.f03 fails if one applies the > following patch. It abort in line 178: > if(len(a) /= 50) call abort() > > On my system "len(a)" is 0 > > > --- a/gcc/testsuite/gfortran.dg/allocate_deferred_char_scalar_1.f03 > +++ b/gcc/testsuite/gfortran.dg/allocate_deferred_char_scalar_1.f03 > @@ -1,4 +1,4 @@ > -! { dg-do run} > +! { dg-do run } > ! > ! Automatic reallocate on assignment, deferred length parameter for char > ! > > -- > Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are on the CC list for the bug. >