From: Markus Deuling <deuling@de.ibm.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: GDB Patches <gdb-patches@sourceware.org>,
Daniel Jacobowitz <drow@false.org>
Subject: Re: Access to arrays in fortran buggy
Date: Tue, 12 Feb 2008 11:30:00 -0000 [thread overview]
Message-ID: <47B182A2.7030100@de.ibm.com> (raw)
In-Reply-To: <20080211133155.GA17547@host0.dyn.jankratochvil.net>
Hi,
Jan Kratochvil schrieb:
> On Mon, 11 Feb 2008 13:34:15 +0100, Markus Deuling wrote:
> ....
>> (gdb) p array
>> $1 = (1, 2, 3, 4, 5, 6, 7)
>>
>> whereas this
>> (gdb) p array(1:2)
>> $2 = (2, 3)
>>
>> is wrong. The correct result should have been (1,2), Fortran starts counting array members with 1 instead
>> of 0.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22244
>
thanks for pointing me to this. I tried a g77 and now the testsuite runs fine :-)
Regards,
Markus
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
prev parent reply other threads:[~2008-02-12 11:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-11 12:36 Markus Deuling
2008-02-11 13:27 ` Daniel Jacobowitz
2008-02-11 13:32 ` Jan Kratochvil
2008-02-12 11:30 ` Markus Deuling [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47B182A2.7030100@de.ibm.com \
--to=deuling@de.ibm.com \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox