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

            Bug ID: 120977
           Summary: [16 Regression] ICE on Cortex-M23/M33/M55/M85 with
                    -mcmse
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: azoff at gcc dot gnu.org
  Target Milestone: ---

arm-none-eabi-gcc gcc/testsuite/gcc.target/arm/cmse/cmse-14.c -mthumb
-mcpu=cortex-m33 -mfloat-abi=soft -O2 -mcmse -S -o - >/dev/null
during RTL pass: expand
gcc/testsuite/gcc.target/arm/cmse/cmse-14.c: In function 'foo':
gcc/testsuite/gcc.target/arm/cmse/cmse-14.c:9:10: internal compiler error:
Segmentation fault
0x2ff66dc internal_error(char const*, ...)
        gcc/diagnostic-global-context.cc:517
0x18b4ca1 crash_signal
        gcc/toplev.cc:321
0x7fa03326c08f ???
       
/build/glibc-B3wQXB/glibc-2.31/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x1099e78 emit_call_1
        gcc/calls.cc:484
0x10a3829 expand_call(tree_node*, rtx_def*, int)
        gcc/calls.cc:3734
0x129e7df expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        gcc/expr.cc:12485
0x128fdc5 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**, bool)
        gcc/expr.cc:9529
0x1283f11 store_expr(tree_node*, rtx_def*, int, bool, bool)
        gcc/expr.cc:6762
0x128257b expand_assignment(tree_node*, tree_node*, bool)
        gcc/expr.cc:6483
0x10c448d expand_call_stmt
        gcc/cfgexpand.cc:3149
0x10c8511 expand_gimple_stmt_1
        gcc/cfgexpand.cc:4223
0x10c8b47 expand_gimple_stmt
        gcc/cfgexpand.cc:4370
0x10c8c63 expand_gimple_tailcall
        gcc/cfgexpand.cc:4416
0x10d1418 expand_gimple_basic_block
        gcc/cfgexpand.cc:6407
0x10d3ac6 execute
        gcc/cfgexpand.cc:7181
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.

The ICE started in r16-1041-g2da641d0170 and is still present in
r16-2034-g6c472b330ac.

Reply via email to