public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/34878] New: fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math.
@ 2008-01-20 3:34 kargl at gcc dot gnu dot org
2008-01-20 4:48 ` [Bug target/34878] " pinskia at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: kargl at gcc dot gnu dot org @ 2008-01-20 3:34 UTC (permalink / raw)
To: gcc-bugs
Bootstrap of revision 131654. Testsuite has one failure.
Executing on host: /home/kargl/gcc/obj4x/gcc/testsuite/gfortran/../../gfortran
-B/home/kargl/gcc/obj4x/
gcc/testsuite/gfortran/../../
/home/kargl/gcc/gcc4x/gcc/testsuite/gfortran.dg/vect/fast-math-pr33299.f9
0 -O2 -ftree-vectorize -fno-vect-cost-model -ftree-vectorizer-verbose=4
-fdump-tree-vect-stats -msse2
-ffast-math
-L/home/kargl/gcc/obj4x/i386-unknown-freebsd8.0/./libgfortran/.libs
-L/home/kargl/gcc/obj
4x/i386-unknown-freebsd8.0/./libgfortran/.libs
-L/home/kargl/gcc/obj4x/i386-unknown-freebsd8.0/./libibe
rty -lm -o ./fast-math-pr33299.exe (timeout = 300)
PASS: gfortran.dg/vect/fast-math-pr33299.f90 (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/home/kargl/gcc/obj4x/i386-unknown-freebsd8.0/./libgfortran/.libs:/home/ka
rgl/gcc/obj4x/i386-unknown-freebsd8.0/./libgfortran/.libs:/home/kargl/gcc/obj4x/gcc:.:/home/kargl/gcc/o
bj4x/i386-unknown-freebsd8.0/./libgfortran/.libs:/home/kargl/gcc/obj4x/i386-unknown-freebsd8.0/./libgfo
rtran/.libs:/home/kargl/gcc/obj4x/gcc
FAIL: gfortran.dg/vect/fast-math-pr33299.f90 execution test
This is a -ffast-math issue as illustrated by 2 command lines. I copied the
guilty program into tmp/
kargl[205] gfc4x -o z -O2 -ftree-vectorize -fno-vect-cost-model
-ftree-vectorize
r-verbose=4 -fdump-tree-vect-stats -fdump-tree-vect-stats -msse2
fast-math-pr332
99.f90
kargl[206] ./z
kargl[207] gfc4x -o z -O2 -ftree-vectorize -fno-vect-cost-model
-ftree-vectorize
r-verbose=4 -fdump-tree-vect-stats -fdump-tree-vect-stats -msse2 -ffast-math
fa
st-math-pr33299.f90
kargl[208] ./z
Illegal instruction (core dumped)
--
Summary: fast-math-pr33299.f90 failure with illegal instruction
due to -ffast-math.
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kargl at gcc dot gnu dot org
GCC host triplet: i386-unknown-freebsd8.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34878
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/34878] fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math.
2008-01-20 3:34 [Bug middle-end/34878] New: fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math kargl at gcc dot gnu dot org
2008-01-20 4:48 ` [Bug target/34878] " pinskia at gcc dot gnu dot org
@ 2008-01-20 4:48 ` sgk at troutmask dot apl dot washington dot edu
2008-01-20 4:49 ` [Bug testsuite/34878] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: sgk at troutmask dot apl dot washington dot edu @ 2008-01-20 4:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from sgk at troutmask dot apl dot washington dot edu 2008-01-20 04:17 -------
Subject: Re: fast-math-pr33299.f90 failure with illegal instruction due to
-ffast-math.
On Sun, Jan 20, 2008 at 04:09:19AM -0000, pinskia at gcc dot gnu dot org wrote:
>
> What instructions is causing the crash?
>
> Are you testing on a machine which has SSE2 ?
>
Nope. From FreeBSD's dmesg:
CPU: AMD Athlon(tm) Processor (1208.75-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x642 Stepping = 2
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
AMD Features=0xc0440800<SYSCALL,<b18>,MMX+,3DNow!+,3DNow!>
SSE2 isn't one of the listed features.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34878
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/34878] fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math.
2008-01-20 3:34 [Bug middle-end/34878] New: fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math kargl at gcc dot gnu dot org
@ 2008-01-20 4:48 ` pinskia at gcc dot gnu dot org
2008-01-20 4:48 ` sgk at troutmask dot apl dot washington dot edu
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-20 4:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-01-20 04:09 -------
What instructions is causing the crash?
Are you testing on a machine which has SSE2 ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34878
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/34878] fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math.
2008-01-20 3:34 [Bug middle-end/34878] New: fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math kargl at gcc dot gnu dot org
2008-01-20 4:48 ` [Bug target/34878] " pinskia at gcc dot gnu dot org
2008-01-20 4:48 ` sgk at troutmask dot apl dot washington dot edu
@ 2008-01-20 4:49 ` pinskia at gcc dot gnu dot org
2008-01-20 15:48 ` ubizjak at gmail dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-20 4:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-01-20 04:19 -------
There is the issue, the testcase should be not run on your computer as it is
using SSE2. So this is a testsuite issue.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |testsuite
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34878
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/34878] fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math.
2008-01-20 3:34 [Bug middle-end/34878] New: fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math kargl at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-01-20 4:49 ` [Bug testsuite/34878] " pinskia at gcc dot gnu dot org
@ 2008-01-20 15:48 ` ubizjak at gmail dot com
2008-01-26 23:06 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ubizjak at gmail dot com @ 2008-01-20 15:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from ubizjak at gmail dot com 2008-01-20 15:34 -------
(In reply to comment #3)
> There is the issue, the testcase should be not run on your computer as it is
> using SSE2. So this is a testsuite issue.
Please look at gcc.dg/vect/ how this should be done. There is a check_vect ()
call before each runtime test (check_vect is in tree-vect.h). I think that
fortran vectorizer tests should call this test too - perhaps via C bindings?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34878
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/34878] fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math.
2008-01-20 3:34 [Bug middle-end/34878] New: fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math kargl at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-01-20 15:48 ` ubizjak at gmail dot com
@ 2008-01-26 23:06 ` pinskia at gcc dot gnu dot org
2008-02-26 17:54 ` ghazi at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-26 23:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2008-01-26 22:58 -------
*** Bug 34987 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jvdelisle at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34878
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/34878] fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math.
2008-01-20 3:34 [Bug middle-end/34878] New: fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math kargl at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-01-26 23:06 ` pinskia at gcc dot gnu dot org
@ 2008-02-26 17:54 ` ghazi at gcc dot gnu dot org
2008-02-26 18:01 ` sgk at troutmask dot apl dot washington dot edu
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2008-02-26 17:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from ghazi at gcc dot gnu dot org 2008-02-26 17:53 -------
Isn't this a dup of 34168?
--
ghazi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ghazi at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-02-26 17:53:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34878
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/34878] fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math.
2008-01-20 3:34 [Bug middle-end/34878] New: fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math kargl at gcc dot gnu dot org
` (5 preceding siblings ...)
2008-02-26 17:54 ` ghazi at gcc dot gnu dot org
@ 2008-02-26 18:01 ` sgk at troutmask dot apl dot washington dot edu
2008-02-26 18:29 ` ghazi at gcc dot gnu dot org
2008-03-19 9:32 ` victork at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: sgk at troutmask dot apl dot washington dot edu @ 2008-02-26 18:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from sgk at troutmask dot apl dot washington dot edu 2008-02-26 18:00 -------
Subject: Re: fast-math-pr33299.f90 failure with illegal instruction due to
-ffast-math.
On Tue, Feb 26, 2008 at 05:53:52PM -0000, ghazi at gcc dot gnu dot org wrote:
>
> ------- Comment #6 from ghazi at gcc dot gnu dot org 2008-02-26 17:53 -------
> Isn't this a dup of 34168?
>
It appears to be.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34878
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/34878] fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math.
2008-01-20 3:34 [Bug middle-end/34878] New: fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math kargl at gcc dot gnu dot org
` (6 preceding siblings ...)
2008-02-26 18:01 ` sgk at troutmask dot apl dot washington dot edu
@ 2008-02-26 18:29 ` ghazi at gcc dot gnu dot org
2008-03-19 9:32 ` victork at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2008-02-26 18:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from ghazi at gcc dot gnu dot org 2008-02-26 18:29 -------
(In reply to comment #7)
> > Isn't this a dup of 34168?
> >
> It appears to be.
Can you implement Uros' suggestion?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34878
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug testsuite/34878] fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math.
2008-01-20 3:34 [Bug middle-end/34878] New: fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math kargl at gcc dot gnu dot org
` (7 preceding siblings ...)
2008-02-26 18:29 ` ghazi at gcc dot gnu dot org
@ 2008-03-19 9:32 ` victork at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: victork at gcc dot gnu dot org @ 2008-03-19 9:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from victork at gcc dot gnu dot org 2008-03-19 09:31 -------
*** This bug has been marked as a duplicate of 34168 ***
--
victork at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34878
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-03-19 9:32 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-20 3:34 [Bug middle-end/34878] New: fast-math-pr33299.f90 failure with illegal instruction due to -ffast-math kargl at gcc dot gnu dot org
2008-01-20 4:48 ` [Bug target/34878] " pinskia at gcc dot gnu dot org
2008-01-20 4:48 ` sgk at troutmask dot apl dot washington dot edu
2008-01-20 4:49 ` [Bug testsuite/34878] " pinskia at gcc dot gnu dot org
2008-01-20 15:48 ` ubizjak at gmail dot com
2008-01-26 23:06 ` pinskia at gcc dot gnu dot org
2008-02-26 17:54 ` ghazi at gcc dot gnu dot org
2008-02-26 18:01 ` sgk at troutmask dot apl dot washington dot edu
2008-02-26 18:29 ` ghazi at gcc dot gnu dot org
2008-03-19 9:32 ` victork at gcc dot gnu dot org
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).