From: Jerry DeLisle <jvdelisle@frontier.com>
To: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Cc: gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org
Subject: Re: [testsuite] Compile gfortran.dg/fmt_g0_6.f08 with -ffloat-store
Date: Tue, 03 May 2011 00:54:00 -0000 [thread overview]
Message-ID: <4DBF5244.8060006@frontier.com> (raw)
In-Reply-To: <ydd1v0hi3pj.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
On 05/02/2011 07:20 AM, Rainer Orth wrote:
> gfortran.dg/fmt_g0_6.f08 execution seems to fail on all 32-bit x86
> targets at -O1 and above. Running it under gdb, I find
>
> Program received signal SIGABRT, Aborted.
> [Switching to Thread 1 (LWP 1)]
> 0xfed0ff85 in _lwp_kill () from /lib/libc.so.1
> (gdb) where
> #0 0xfed0ff85 in _lwp_kill () from /lib/libc.so.1
> #1 0xfed08f49 in thr_kill () from /lib/libc.so.1
> #2 0xfecb8f3d in raise () from /lib/libc.so.1
> #3 0xfec9114d in abort () from /lib/libc.so.1
> #4 0xfef43b2c in _gfortran_abort () at /vol/gcc/src/hg/trunk/local/libgfortran/intrinsics/abort.c:34
> #5 0x08051821 in check_f_fmt (val=0.995, roundmode=..., w=15, d=2, e=0, _roundmode=1) at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/fmt_g0_6.f08:76
> #6 main (val=Could not find the frame base for "main".
> ) at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/fmt_g0_6.f08:26
> #7 0x0805185b in check_all (val=0.995, w=15, d=2, e=0) at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/fmt_g0_6.f08:21
> #8 main (val=0.995, w=15, d=2, e=Could not find the frame base for "main".
> ) at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/fmt_g0_6.f08:15
> #9 0x08051923 in test_g0fr (argc=1, argv=0x8047a70 "/vol/gcc/obj/regression/trunk/11-gcc/build/gcc/testsuite/gfortran/fmt_g0_6.exe") at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/fmt_g0_6.f08:11
> #10 main (argc=1, argv=0x8047a70 "/vol/gcc/obj/regression/trunk/11-gcc/build/gcc/testsuite/gfortran/fmt_g0_6.exe") at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/fmt_g0_6.f08:13
> #11 0x08050f03 in _start ()
>
> if (s_g /= s_f) call abort
>
> (gdb) p s_g
> $1 = '' 1.0 '', ' '<repeats 63 times>
> (gdb) p s_f
> $2 = '' 0.99 '', ' '<repeats 63 times>
>
> The failure vanishes with -ffloat-store, so I propose the following
> patch, tested on i386-pc-solaris2.11 with the appropriate runtest
> invocation.
>
> Ok for mainline?
>
This is OK. We are working on a solution, so maybe it would be better to XFAIL
it so that when it does get fixed it will be flagged. It also fails on i686-pc-gnu.
Regards,
Jerry
next prev parent reply other threads:[~2011-05-03 0:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-02 14:20 Rainer Orth
2011-05-03 0:54 ` Jerry DeLisle [this message]
2011-05-03 8:50 ` Rainer Orth
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=4DBF5244.8060006@frontier.com \
--to=jvdelisle@frontier.com \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=ro@CeBiTec.Uni-Bielefeld.DE \
/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).