public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/36889]  New: [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support
@ 2008-07-21 15:31 brian at dessent dot net
  2008-08-11  0:25 ` [Bug testsuite/36889] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: brian at dessent dot net @ 2008-07-21 15:31 UTC (permalink / raw)
  To: gcc-bugs

Apparently something in the recent reorganization of the computation of fortran
torture options has caused -msse2 execute tests to be run without checking if
the host supports sse2:

$ egrep '^flags' /proc/cpuinfo
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow

$ egrep 'FAIL.*execute.*sse2'
build/gcc-4.4-20080718/gcc/testsuite/gfortran/gfortran.sum
FAIL: gfortran.fortran-torture/execute/common.f90 execution, -O2
-ftree-vectorize -msse2 
FAIL: gfortran.fortran-torture/execute/common_size.f90 execution, -O2
-ftree-vectorize -msse2 
FAIL: gfortran.fortran-torture/execute/forall_3.f90 execution, -O2
-ftree-vectorize -msse2 
FAIL: gfortran.fortran-torture/execute/forall_5.f90 execution, -O2
-ftree-vectorize -msse2 
FAIL: gfortran.fortran-torture/execute/in-pack.f90 execution, -O2
-ftree-vectorize -msse2 
FAIL: gfortran.fortran-torture/execute/ptr.f90 execution, -O2 -ftree-vectorize
-msse2 
FAIL: gfortran.fortran-torture/execute/scalarize.f90 execution, -O2
-ftree-vectorize -msse2 
FAIL: gfortran.fortran-torture/execute/scalarize2.f90 execution, -O2
-ftree-vectorize -msse2 
FAIL: gfortran.fortran-torture/execute/seq_io.f90 execution, -O2
-ftree-vectorize -msse2 
FAIL: gfortran.fortran-torture/execute/stack_varsize.f90 execution, -O2
-ftree-vectorize -msse2 
FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O2
-ftree-vectorize -msse2 
FAIL: gfortran.fortran-torture/execute/where_7.f90 execution, -O2
-ftree-vectorize -msse2 
FAIL: gfortran.fortran-torture/execute/where_8.f90 execution, -O2
-ftree-vectorize -msse2 

Note that these are the only ones that happen to fail, but all the execute
tests are built and run with the problematic option; this is a regression in
4.4:

$ find . -name gfortran.log | xargs egrep -Hc 'execution.*msse2'
./gcc-4.0.4/stage3-gcc/testsuite/gfortran/gfortran.log:0
./gcc-4.1.2/stage3-gcc/testsuite/gfortran/gfortran.log:0
./gcc-4.2.4/gcc/testsuite/gfortran/gfortran.log:0
./gcc-4.3.1/gcc/testsuite/gfortran/gfortran.log:0
./gcc-4.4-20080718/gcc/testsuite/gfortran/gfortran.log:219


-- 
           Summary: [4.4 regression] gfortran.fortran-
                    torture/execute/execute.exp tries to run sse2 execute
                    tests without checking for host support
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brian at dessent dot net
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/36889] [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support
  2008-07-21 15:31 [Bug testsuite/36889] New: [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support brian at dessent dot net
@ 2008-08-11  0:25 ` pinskia at gcc dot gnu dot org
  2008-08-20  2:18 ` brian at dessent dot net
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-11  0:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-11 00:24 -------
I don't that many folks who don't have a SSE2 compatible machine any more ...


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.4.0


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/36889] [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support
  2008-07-21 15:31 [Bug testsuite/36889] New: [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support brian at dessent dot net
  2008-08-11  0:25 ` [Bug testsuite/36889] " pinskia at gcc dot gnu dot org
@ 2008-08-20  2:18 ` brian at dessent dot net
  2008-08-22 14:50 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: brian at dessent dot net @ 2008-08-20  2:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from brian at dessent dot net  2008-08-20 02:16 -------
(added testsuite maintainer on CC)

Well now you know one.  I understand that this may not affect most gcc
developers.  However it does affect casual volunteers who run the testsuite. 
By polluting the results with spurious fails it makes the results less useful,
and this sends the general message that volunteers running the testsuite on
old/spare hardware is not welcome.  I don't think that is a message you want to
be sending at all and indeed I seriously doubt that there was any such intent
with the changes.  Rather, I think there is simply an undetected bug that was
not caught exactly because most developers have newish machines.


-- 

brian at dessent dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janis at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/36889] [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support
  2008-07-21 15:31 [Bug testsuite/36889] New: [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support brian at dessent dot net
  2008-08-11  0:25 ` [Bug testsuite/36889] " pinskia at gcc dot gnu dot org
  2008-08-20  2:18 ` brian at dessent dot net
@ 2008-08-22 14:50 ` rguenth at gcc dot gnu dot org
  2008-09-15  9:12 ` jakub at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-22 14:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-08-22 14:46 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Priority|P3                          |P2
   Last reconfirmed|0000-00-00 00:00:00         |2008-08-22 14:46:17
               date|                            |


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/36889] [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support
  2008-07-21 15:31 [Bug testsuite/36889] New: [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support brian at dessent dot net
                   ` (2 preceding siblings ...)
  2008-08-22 14:50 ` rguenth at gcc dot gnu dot org
@ 2008-09-15  9:12 ` jakub at gcc dot gnu dot org
  2008-09-15  9:37 ` jakub at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-15  9:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2008-09-15 09:11 -------
Please try http://gcc.gnu.org/ml/gcc-patches/2008-09/msg01076.html
patch.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2008-
                   |                            |09/msg01076.html
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-08-22 14:46:17         |2008-09-15 09:11:34
               date|                            |


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/36889] [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support
  2008-07-21 15:31 [Bug testsuite/36889] New: [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support brian at dessent dot net
                   ` (3 preceding siblings ...)
  2008-09-15  9:12 ` jakub at gcc dot gnu dot org
@ 2008-09-15  9:37 ` jakub at gcc dot gnu dot org
  2008-09-15 11:09 ` brian at dessent dot net
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-15  9:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2008-09-15 09:36 -------
*** Bug 36458 has been marked as a duplicate of this bug. ***


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/36889] [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support
  2008-07-21 15:31 [Bug testsuite/36889] New: [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support brian at dessent dot net
                   ` (4 preceding siblings ...)
  2008-09-15  9:37 ` jakub at gcc dot gnu dot org
@ 2008-09-15 11:09 ` brian at dessent dot net
  2008-09-16 22:05 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: brian at dessent dot net @ 2008-09-15 11:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from brian at dessent dot net  2008-09-15 11:08 -------
Subject: Re:  [4.4 regression] 
 gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute 
 tests without checking for host support

The patch works for me, thanks.  (Although I could only test the sse2
part not the ultrasparc part.)


-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/36889] [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support
  2008-07-21 15:31 [Bug testsuite/36889] New: [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support brian at dessent dot net
                   ` (5 preceding siblings ...)
  2008-09-15 11:09 ` brian at dessent dot net
@ 2008-09-16 22:05 ` jakub at gcc dot gnu dot org
  2008-09-16 22:10 ` jakub at gcc dot gnu dot org
  2008-12-08 22:13 ` janis at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-16 22:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jakub at gcc dot gnu dot org  2008-09-16 22:04 -------
Subject: Bug 36889

Author: jakub
Date: Tue Sep 16 22:02:37 2008
New Revision: 140398

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140398
Log:
        PR testsuite/36889
        * lib/fortran-torture.exp (get-fortran-torture-options): Only
        set test_tree_vectorize on i?86/x86_64 resp. sparc* if sse2 resp.
        ultrasparc hw is available.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/lib/fortran-torture.exp


-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/36889] [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support
  2008-07-21 15:31 [Bug testsuite/36889] New: [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support brian at dessent dot net
                   ` (6 preceding siblings ...)
  2008-09-16 22:05 ` jakub at gcc dot gnu dot org
@ 2008-09-16 22:10 ` jakub at gcc dot gnu dot org
  2008-12-08 22:13 ` janis at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-09-16 22:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jakub at gcc dot gnu dot org  2008-09-16 22:09 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/36889] [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support
  2008-07-21 15:31 [Bug testsuite/36889] New: [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support brian at dessent dot net
                   ` (7 preceding siblings ...)
  2008-09-16 22:10 ` jakub at gcc dot gnu dot org
@ 2008-12-08 22:13 ` janis at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-12-08 22:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from janis at gcc dot gnu dot org  2008-12-08 22:11 -------
Subject: Bug 36889

Author: janis
Date: Mon Dec  8 22:10:06 2008
New Revision: 142566

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142566
Log:
        Backport from mainline:
        2008-09-16  Jakub Jelinek  <jakub@redhat.com>

        PR testsuite/36889
        * lib/fortran-torture.exp (get-fortran-torture-options): Only
        set test_tree_vectorize on i?86/x86_64 resp. sparc* if sse2 resp.
        ultrasparc hw is available.

Modified:
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/lib/fortran-torture.exp


-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-12-08 22:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-21 15:31 [Bug testsuite/36889] New: [4.4 regression] gfortran.fortran-torture/execute/execute.exp tries to run sse2 execute tests without checking for host support brian at dessent dot net
2008-08-11  0:25 ` [Bug testsuite/36889] " pinskia at gcc dot gnu dot org
2008-08-20  2:18 ` brian at dessent dot net
2008-08-22 14:50 ` rguenth at gcc dot gnu dot org
2008-09-15  9:12 ` jakub at gcc dot gnu dot org
2008-09-15  9:37 ` jakub at gcc dot gnu dot org
2008-09-15 11:09 ` brian at dessent dot net
2008-09-16 22:05 ` jakub at gcc dot gnu dot org
2008-09-16 22:10 ` jakub at gcc dot gnu dot org
2008-12-08 22:13 ` janis 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).