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

--- Comment #6 from Yoshinori Sato <ysato at users dot sourceforge.jp> ---
I got same ICE on following gcc.
❯ rx-unknown-linux-gcc --version
rx-unknown-linux-gcc (GCC) 12.0.0 20210903 (experimental)

❯ rx-unknown-linux-gcc -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE
-Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type
-Wno-format-security -std=gnu89 -D__linux__ -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races
-Wframe-larger-than=1024 -fno-stack-protector -Wimplicit-fallthrough=5
-Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable
-fomit-frame-pointer -fno-stack-clash-protection -Wdeclaration-after-statement
-Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds
-Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized
-Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check
-fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types
-Werror=designated-init -Wno-packed-not-aligned -g -c util.c 
during RTL pass: dwarf2
mm/util.c: In function 'kvmalloc_node':
mm/util.c:602:1: internal compiler error: in maybe_record_trace_start, at
dwarf2cfi.c:2425
  602 | }
      | ^
0x5cd192 maybe_record_trace_start
        ../../gcc/dwarf2cfi.c:2425
0x9583d5 scan_trace
        ../../gcc/dwarf2cfi.c:2625
0x958bac create_cfi_notes
        ../../gcc/dwarf2cfi.c:2779
0x958bac execute_dwarf2_frame
        ../../gcc/dwarf2cfi.c:3149
0x958bac execute
        ../../gcc/dwarf2cfi.c:3637
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

attached pre-precessed souce.
  • [Bug target/69073] internal... ysato at users dot sourceforge.jp via Gcc-bugs

Reply via email to