public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tobi at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/15080] Forall bounds not calculated correctly (forall_3.f90)
Date: Mon, 27 Dec 2004 17:37:00 -0000	[thread overview]
Message-ID: <20041227173729.3227.qmail@sourceware.org> (raw)
In-Reply-To: <20040422212419.15080.pbrook@gcc.gnu.org>


------- Additional Comments From tobi at gcc dot gnu dot org  2004-12-27 17:37 -------
I confirmed that glibc's error is indeed issued when running this testcase.
gdb's output:
(gdb) bt
#0  0x003f07a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00138955 in raise () from /lib/tls/libc.so.6
#2  0x0013a319 in abort () from /lib/tls/libc.so.6
#3  0x0016bf9a in __libc_message () from /lib/tls/libc.so.6
#4  0x00172528 in _int_free () from /lib/tls/libc.so.6
#5  0x00172afa in free () from /lib/tls/libc.so.6
#6  0x00824762 in *_gfortrani_internal_free (mem=0x87e2278)
    at ../../../gcc-clean/libgfortran/runtime/memory.c:203
#7  0x08048a8d in MAIN__ () at forall_3.f90:28
#8  0x08048c73 in main (argc=0, argv=0x0)
    at ../../../gcc-clean/libgfortran/fmain.c:18
(gdb) frame 7
#7  0x08048a8d in MAIN__ () at forall_3.f90:28
28        forall (i=1:5,v(i)%valid)
(gdb) l
23        v(2)%p(:) = (/1, 2, 3, 4, 5, 6, 7, 8/)
24        v(4)%p(:) = (/13, 14, 15, 16, 17, 18, 19, 20/)
25        v(5)%p(:) = (/11, 12/)
26
27
28        forall (i=1:5,v(i)%valid)
29          v(i)%p(1:v(i)%s) = v(6-i)%p(1:v(i)%s)
30        end forall
31
32        if (any(v(1)%p(:) .ne. (/11, 10/))) call abort
(gdb)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15080


  parent reply	other threads:[~2004-12-27 17:37 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-22 21:54 [Bug fortran/15080] New: [gfortran] " pbrook at gcc dot gnu dot org
2004-04-22 22:05 ` [Bug fortran/15080] " pbrook at gcc dot gnu dot org
2004-12-27 17:22 ` [Bug fortran/15080] " tobi at gcc dot gnu dot org
2004-12-27 17:24 ` pinskia at gcc dot gnu dot org
2004-12-27 17:37 ` tobi at gcc dot gnu dot org [this message]
2004-12-27 17:41 ` pbrook at gcc dot gnu dot org
2005-01-06 14:37 ` tobi at gcc dot gnu dot org
2005-01-08 22:28 ` pinskia at gcc dot gnu dot org
2005-02-28 15:49 ` amodra at bigpond dot net dot au
2005-03-08 15:35 ` Thomas dot Koenig at online dot de
2005-03-08 20:30 ` Thomas dot Koenig at online dot de
2005-04-29 12:18 ` jakub at gcc dot gnu dot org
2005-04-29 15:20 ` jakub at gcc dot gnu dot org
2005-05-09 12:09 ` tobi at gcc dot gnu dot org
2005-05-15 21:37 ` aj at gcc dot gnu dot org
2005-05-15 21:42 ` pbrook at gcc dot gnu dot org
2005-05-17  6:32 ` cvs-commit at gcc dot gnu dot org
2005-05-17  7:02 ` cvs-commit at gcc dot gnu dot org
2005-05-17 11:26 ` pinskia at gcc dot gnu dot org

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=20041227173729.3227.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).