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

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
Full backtrace:
```
during RTL pass: combine
p.c: In function ‘intel_uncore_prune_engine_fw_domains’:
p.c:11:1: internal compiler error: RTL check: expected code 'const_int', have
'subreg' in simplify_binary_operation_1, at simplify-rtx.cc:3692
   11 | }
      | ^
0x55d687f452de internal_error(char const*, ...)
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/diagnostic-global-context.cc:787
0x55d68772c28d rtl_check_failed_code1(rtx_def const*, rtx_code, char const*,
int, char const*)
        /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/rtl.cc:770
0x55d68679a817 simplify_context::simplify_binary_operation_1(rtx_code,
machine_mode, rtx_def*, rtx_def*, rtx_def*, rtx_def*)
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/simplify-rtx.cc:3692
0x55d6881bef5b simplify_context::simplify_binary_operation(rtx_code,
machine_mode, rtx_def*, rtx_def*)
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/simplify-rtx.cc:2767
0x55d6886cc7fd simplify_context::simplify_gen_binary(rtx_code, machine_mode,
rtx_def*, rtx_def*)
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/simplify-rtx.cc:182
0x55d6887dd1ae simplify_gen_binary(rtx_code, machine_mode, rtx_def*, rtx_def*)
        /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/rtl.h:3595
0x55d6887dd1ae simplify_and_const_int_1
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/combine.cc:10203
0x55d6887dd489 simplify_and_const_int
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/combine.cc:10258
0x55d6887dd489 simplify_logical
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/combine.cc:7173
0x55d6887116af subst
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/combine.cc:5660
0x55d6887122e2 subst(rtx_def*, rtx_def*, rtx_def*, bool, bool, bool) [clone
.constprop.0]
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/combine.cc:5587
0x55d6887126f2 subst(rtx_def*, rtx_def*, rtx_def*, bool, bool, bool) [clone
.constprop.0]
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/combine.cc:5521
0x55d688708501 try_combine
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/combine.cc:3387
0x55d688677ef7 combine_instructions
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/combine.cc:1348
0x55d688677ef7 rest_of_handle_combine
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/combine.cc:15231
0x55d688677ef7 execute
       
/usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/combine.cc:15275
```

Reply via email to