public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ramana at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/43572] [4.5/4.6 Regression] FAIL: gfortran.dg/PR19872.f execution test; formatted read - wrong numbers Date: Sat, 10 Apr 2010 08:45:00 -0000 [thread overview] Message-ID: <20100410084521.15530.qmail@sourceware.org> (raw) In-Reply-To: <bug-43572-276@http.gcc.gnu.org/bugzilla/> ------- Comment #11 from ramana at gcc dot gnu dot org 2010-04-10 08:45 ------- I can pretty much see this on a v7 arm-linux-gnueabi target with 157994 (i.e. using a libgfortran from my 4.5 tree, causes this test to fail and using the system libgfortran things just work). On this target peeking at the values using gdb . I see that as soon as gfortran_transfer_array is completed the value in i is this random number. Don't know enough yet about libgfortran to figure out where the miscompile is happening. Digging. GNU gdb (GDB) 7.0.90.20100309-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabi". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /tmp/a.out...done. (gdb) b _gfortran_transfer_array Breakpoint 1 at 0x8508 (gdb) r Starting program: /tmp/a.out Breakpoint 1, *_gfortran_transfer_array (dtp=0xbef2ae60, desc=0xbef2afd8, kind=4, charlen=0) at /home/ramrad01/trunk/libgfortran/io/transfer.c:1863 1863 if ((dtp->common.flags & IOPARM_LIBRETURN_MASK) != IOPARM_LIBRETURN_OK) (gdb) finish Run till exit from #0 *_gfortran_transfer_array (dtp=0xbef2ae60, desc=0xbef2afd8, kind=4, charlen=0) at /home/ramrad01/trunk/libgfortran/io/transfer.c:1863 0x00008878 in MAIN__ () at /home/ramrad01/trunk/gcc/testsuite/gfortran.dg/PR19872.f:13 13 read(1,*)i (gdb) p i $1 = (2147483647, 2147483647, 2147483647, 2147483647) -- ramana at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Priority|P4 |P3 Last reconfirmed|0000-00-00 00:00:00 |2010-04-10 08:45:21 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43572
next prev parent reply other threads:[~2010-04-10 8:45 UTC|newest] Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-43572-276@http.gcc.gnu.org/bugzilla/> 2010-03-31 18:08 ` [Bug libfortran/43572] " danglin at gcc dot gnu dot org 2010-04-01 9:41 ` [Bug libfortran/43572] [4.5 Regression] " burnus at gcc dot gnu dot org 2010-04-01 11:26 ` howarth at nitro dot med dot uc dot edu 2010-04-01 11:26 ` howarth at nitro dot med dot uc dot edu 2010-04-01 20:51 ` dave at hiauly1 dot hia dot nrc dot ca 2010-04-01 21:03 ` danglin at gcc dot gnu dot org 2010-04-02 2:58 ` jvdelisle at gcc dot gnu dot org 2010-04-03 17:16 ` rguenth at gcc dot gnu dot org 2010-04-06 11:38 ` rguenth at gcc dot gnu dot org 2010-04-09 20:06 ` [Bug libfortran/43572] [4.5/4.6 " dave at hiauly1 dot hia dot nrc dot ca 2010-04-10 8:45 ` ramana at gcc dot gnu dot org [this message] 2010-04-12 15:50 ` ramana at gcc dot gnu dot org 2010-04-12 16:00 ` rguenth at gcc dot gnu dot org 2010-04-12 16:03 ` dave at hiauly1 dot hia dot nrc dot ca 2010-04-12 17:22 ` ramana at gcc dot gnu dot org 2010-04-15 13:44 ` dave at hiauly1 dot hia dot nrc dot ca 2010-04-15 18:40 ` ramana at gcc dot gnu dot org 2010-04-16 7:47 ` [Bug tree-optimization/43572] " ramana at gcc dot gnu dot org 2010-04-16 8:59 ` rguenth at gcc dot gnu dot org 2010-04-16 10:00 ` rguenth at gcc dot gnu dot org 2010-04-16 10:54 ` rguenth at gcc dot gnu dot org 2010-04-16 13:22 ` rguenth at gcc dot gnu dot org 2010-04-16 15:00 ` [Bug tree-optimization/43572] [4.5 " rguenth at gcc dot gnu dot org 2010-04-19 9:06 ` ramana at gcc dot gnu dot org 2010-04-19 9:13 ` rguenth at gcc dot gnu dot org 2010-04-19 9:14 ` rguenth at gcc dot gnu dot org 2010-04-20 23:34 ` mikpe at it dot uu dot se 2010-04-21 7:52 ` mikpe at it dot uu dot se 2010-04-21 8:48 ` rguenther at suse dot de 2010-04-23 1:24 ` mikpe at it dot uu dot se 2010-04-23 15:47 ` rguenth at gcc dot gnu dot org 2010-04-23 15:48 ` rguenth at gcc dot gnu dot org 2010-04-26 23:47 ` 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=20100410084521.15530.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: linkBe 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).