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

--- Comment #13 from Frank Scheiner <frank.scheiner at web dot de> ---
(In reply to Andrew Pinski from comment #10)
> So then the trunk will fail with -O3 -fno-late-combine :).

Confirmed:

```
$ /opt/gcc-16-20250810-nolibc/ia64-linux/bin/ia64-linux-gcc -std=gnu17 -Wall
-O3 -fno-late-combine-instructions -c reduced-reproducer.c -o bug.o -g2
during RTL pass: mach
reduced-reproducer.c: In function 'X509_CRL_add0_revoked':
reduced-reproducer.c:24:1: internal compiler error: in
create_block_for_bookkeeping, at sel-sched.cc:4557
   24 | }
      | ^
0x182ddc1 internal_error(char const*, ...)
        /usr/src/gcc/gcc/diagnostic-global-context.cc:534
0x63975b fancy_abort(char const*, int, char const*)
        /usr/src/gcc/gcc/diagnostics/context.cc:1687
0x61b6bc create_block_for_bookkeeping
        /usr/src/gcc/gcc/sel-sched.cc:4557
0x61b6bc find_place_for_bookkeeping
        /usr/src/gcc/gcc/sel-sched.cc:4694
0x61b6bc generate_bookkeeping_insn
        /usr/src/gcc/gcc/sel-sched.cc:4794
0x61b6bc move_op_at_first_insn
        /usr/src/gcc/gcc/sel-sched.cc:6071
0xc79fbc code_motion_path_driver
        /usr/src/gcc/gcc/sel-sched.cc:6665
0xc7a242 code_motion_process_successors
        /usr/src/gcc/gcc/sel-sched.cc:6350
0xc7a242 code_motion_path_driver
        /usr/src/gcc/gcc/sel-sched.cc:6616
0xc7d095 move_op
        /usr/src/gcc/gcc/sel-sched.cc:6710
0xc7d095 move_exprs_to_boundary
        /usr/src/gcc/gcc/sel-sched.cc:5231
0xc7d095 schedule_expr_on_boundary
        /usr/src/gcc/gcc/sel-sched.cc:5444
0xc7ef09 fill_insns
        /usr/src/gcc/gcc/sel-sched.cc:5586
0xc7ef09 schedule_on_fences
        /usr/src/gcc/gcc/sel-sched.cc:7361
0xc7ef09 sel_sched_region_2
        /usr/src/gcc/gcc/sel-sched.cc:7499
0xc8078b sel_sched_region_1
        /usr/src/gcc/gcc/sel-sched.cc:7541
0xc81e46 sel_sched_region(int)
        /usr/src/gcc/gcc/sel-sched.cc:7642
0xc81e46 sel_sched_region(int)
        /usr/src/gcc/gcc/sel-sched.cc:7627
0xc82d19 run_selective_scheduling()
        /usr/src/gcc/gcc/sel-sched.cc:7728
0x104c99a ia64_reorg
        /usr/src/gcc/gcc/config/ia64/ia64.cc:9871
```

Reply via email to