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

            Bug ID: 121772
           Summary: [13/14/15/16 Regression] aarch64: ICE (invalid gimple)
                    with vcombine since r13-1836-g8a1e05b7618fed
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acoplan at gcc dot gnu.org
  Target Milestone: ---

The following fails:

$ cat t.c
#include <arm_neon.h>
int16_t f(int16x4_t b) {
  return vaddvq_s16(vcombine_s16(b, vreinterpret_s16_u16(vcgt_s16(b, b))));
}
$ gcc/xgcc -B gcc -c t.c -S -o /dev/null -O2
t.c: In function ‘f’:
t.c:4:1: error: non-trivial conversion in ‘ssa_name’
    4 | }
      | ^
short int
int16x4_t
_8 = b_5(D);
during GIMPLE pass: forwprop
t.c:4:1: internal compiler error: verify_gimple failed
0x236f467 internal_error(char const*, ...)
        /home/alecop01/toolchain/src/gcc/gcc/diagnostic-global-context.cc:786
0x10c13f3 verify_gimple_in_cfg(function*, bool, bool)
        /home/alecop01/toolchain/src/gcc/gcc/tree-cfg.cc:5592
0xf2042f execute_function_todo
        /home/alecop01/toolchain/src/gcc/gcc/passes.cc:2097
0xf20a2f execute_todo
        /home/alecop01/toolchain/src/gcc/gcc/passes.cc:2149
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

This looks to have started with
r13-1836-g8a1e05b7618fed394b0928bec89e71748295d357.

Reply via email to