Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Markus Deuling <deuling@de.ibm.com>
Cc: GDB Patches <gdb-patches@sourceware.org>
Subject: Re: Access to arrays in fortran buggy
Date: Mon, 11 Feb 2008 13:32:00 -0000	[thread overview]
Message-ID: <20080211133155.GA17547@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <47B040C7.8080101@de.ibm.com>

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


Regards,
Jan


  parent reply	other threads:[~2008-02-11 13:32 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 [this message]
2008-02-12 11:30   ` Markus Deuling

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=20080211133155.GA17547@host0.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=deuling@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    /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