public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/50670] New: GCC testsuite try to execute sse2 code on non-sse2 machines
@ 2011-10-08 22:32 newsgrp at duradsl dot dyndns.org
  2021-09-02  9:04 ` [Bug testsuite/50670] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: newsgrp at duradsl dot dyndns.org @ 2011-10-08 22:32 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50670
           Summary: GCC testsuite try to execute sse2 code on non-sse2
                    machines
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: newsgrp@duradsl.dyndns.org


Created attachment 25447
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25447
testsuite gcc.log

When running gcc testsuite on an athlon-xp machine (which does not support
sse2) it tries to execute pr48377.c compiled with -msse2 switch.

/sources/gcc-4.6.1/gcc-build/gcc/xgcc -B/sources/gcc-4.6.1/gcc-build/gcc/
/sources/gcc-4.6.1/gcc-4.6.1/gcc/testsuite/gcc.dg/vect/pr48377.c   -msse2
-ftree-vectorize -fno-vect-cost-model -O2 -fdump-tree-vect-details  -lm   -o
./pr48377.exe
./pr48377.exe
Illegal instruction (core dumped)

No more core if -msse2 switch is removed

This bug is quite similar to PR36889, but IMHO the PR36889 resolution is not
applicable here.

/sources/gcc-4.6.1/gcc-build/gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=/sources/gcc-4.6.1/gcc-build/gcc/xgcc
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.6.1/configure --prefix=/usr --libexecdir=/usr/lib
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --enable-languages=c,c++ --disable-multilib
--disable-bootstrap --with-ppl --with-cloog
Thread model: posix
gcc version 4.6.1 (GCC)


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

* [Bug testsuite/50670] GCC testsuite try to execute sse2 code on non-sse2 machines
  2011-10-08 22:32 [Bug testsuite/50670] New: GCC testsuite try to execute sse2 code on non-sse2 machines newsgrp at duradsl dot dyndns.org
@ 2021-09-02  9:04 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-02  9:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50670

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |4.7.0
         Resolution|---                         |FIXED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed on the trunk at the time by r0-108118. Even though the testcase was
backported for GCC 4.6.1, the fix for the testcase was not.

So fixed for GCC 4.7.0.

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

end of thread, other threads:[~2021-09-02  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-08 22:32 [Bug testsuite/50670] New: GCC testsuite try to execute sse2 code on non-sse2 machines newsgrp at duradsl dot dyndns.org
2021-09-02  9:04 ` [Bug testsuite/50670] " pinskia at gcc dot gnu.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).