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

            Bug ID: 106279
           Summary: reload problem on arm iwmmxt
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For the C testsuite file ./gcc.target/aarch64/vect_unary_1.c, compiled
by an ARM cross compiler, with target arch set to iwmmxt, does this:

$ /home/dcb/raspberrypi/results/bin/arm-linux-gnueabihf-gcc -c -march=iwmmxt 
bug827.c
during RTL pass: reload
./gcc.target/aarch64/vect_unary_1.c: In function ‘test2_int_clz_int’:
./gcc.target/aarch64/vect_unary_1.c:15:1: internal compiler error: maximum
number of generated reload insns per insn achieved (90)
   15 | }                                                                      
\
      | ^
./gcc.target/aarch64/vect_unary_1.c:161:1: note: in expansion of macro ‘TEST2’
  161 | TEST2 (int, clz, int)
      | ^~~~~
0xe06010 lra_constraints(bool)
    /home/dcb/gcc/trunk.git/gcc/lra-constraints.cc:5126

Similar things happen with target arch set to iwmmxt2.

Reply via email to