This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/50670] New: GCC testsuite try to execute sse2 code on non-sse2 machines


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]