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 c/61925] New: internal error when using vectorization on CPU without SSE


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

            Bug ID: 61925
           Summary: internal error when using vectorization on CPU without
                    SSE
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mikulas at artax dot karlin.mff.cuni.cz
              Host: x86_64-unknown-linux-gnu
            Target: x86_64-unknown-linux-gnu
             Build: x86_64-unknown-linux-gnu

Created attachment 33192
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33192&action=edit
a test case

Compile the attached file with "-O3 -m32 -march=i386". You get an internal
error.

vector.c: In function 'f':
vector.c:4:1: warning: SSE vector return without SSE enabled changes the ABI
[-Wpsabi]
 {
 ^
vector.c:3:38: note: The ABI for passing parameters with 16-byte alignment has
changed in GCC 4.6
 __attribute__((vector_size(16))) int f(__attribute__((vector_size(16))) int a,
__attribute__((vector_size(16))) int b)
                                      ^
vector.c:3:38: warning: SSE vector argument without SSE enabled changes the ABI
[-Wpsabi]
vector.c:5:2: internal compiler error: in convert_move, at expr.c:333
  return a + b;
  ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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