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/47846] Deferred-string length: Length is wrong


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-bugzilla@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: unassigned@gcc.gnu.org
> Â Â Â ÂReportedBy: burnus@gcc.gnu.org
> Â Â Â Â Â Â Â ÂCC: pault@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.
>


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