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

            Bug ID: 72738
           Summary: internal compiler error: in expand_shift_1, at
                    expmed.c:2318
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: noloader at gmail dot com
  Target Milestone: ---

Created attachment 39027
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39027&action=edit
Preprocessed source file.

Raspberry Pi 3 with a 32-bit Debian-lite OS. Its ARMv8, Broadcom SoC under A53
architecture. I'm attempting to compile for Aarch32 with CRC and Crypto
enabled.

$ cat test.cc
#include <arm_neon.h>
#include <arm_acle.h>
int main(int argc, char* argv[])
{
  volatile bool result = true;
  const poly64_t a1={1}, b1={2};
  const poly64x2_t a2={1}, b2={2};
  const poly128_t r1 = vmull_p64(a1, b1);
  const poly128_t r2 = vmull_high_p64(a2, b2);
  result = (r1 != r2);
  return 0;
}

$ gcc -march=armv8-a+crc -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -fPIC
test.cc -o test.out
test.cc: In function ‘int main(int, char**)’:
test.cc:10:16: internal compiler error: in expand_shift_1, at expmed.c:2318
   result = (r1 != r2);
                ^
Please submit a full bug report...

Reply via email to