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 target/78860] New: ICE in compilation for MIPS with -mpaired-single


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

            Bug ID: 78860
           Summary: ICE in compilation for MIPS with -mpaired-single
           Product: gcc
           Version: 4.9.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: niva at niisi dot msk.ru
  Target Milestone: ---

The source file is:
-------------------
typedef unsigned char uint8_t;
typedef float v2sf __attribute__ ((vector_size (8)));

uint8_t _simple_testV2SF (v2sf *pv)
{
  const v2sf val = *pv;
  const uint8_t *val8 = (uint8_t *)&val;
  return val8[0];
}

The compiler used was gcc-4.9.4 configured for mips:
----------------------------------------------------
Target: mips64-none-elf
Configured with: /home/niva/src/gcc-4.9.4/configure --target=mips64-none-elf
--enable-threads=no --disable-shared --enable-long-long --enable-c99
--enable-languages=c,c++,fortran --enable-multilib --enable-symvers=gnu
--disable-libmudflap --disable-libssp --disable-libgcc_eh
--disable-libstdc++-v3 --disable-libgfortran --with-newlib --with-dwarf2
--with-system-zlib --without-cloog --enable-generated-files-in-srcdir --verbose
--prefix=/home/niva/local --enable-cpp

The following command line results in internal compiler error:
--------------------------------------------------------------
LANG=C mips64-none-elf-gcc -O1 -mips64 -mpaired-single -S tstV2SF.c 2>err

(The output is attached.)

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