public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/113636] New: internal compiler error: in dead_debug_global_find, at valtrack.cc:275
@ 2024-01-28 14:10 toon at moene dot org
  2024-01-29  3:51 ` [Bug debug/113636] " pinskia at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: toon at moene dot org @ 2024-01-28 14:10 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113636
           Summary: internal compiler error: in dead_debug_global_find, at
                    valtrack.cc:275
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: toon at moene dot org
  Target Milestone: ---

A build + test run [r14-8465] on aarch64-linux-gnu draws the following ICE
while compiling math/cmplx:

during RTL pass: sched1
cmath_test.go: In function 'math/cmplx.BenchmarkCos':
cmath_test.go:1520:1: internal compiler error: in dead_debug_global_find, at
valtrack.cc:275
 1520 | func BenchmarkCos(b *testing.B) {
      | ^
0x131ce17 dead_debug_global_find
        /home/toon/compilers/gcc/gcc/valtrack.cc:275
0x131ce17 dead_debug_global_find
        /home/toon/compilers/gcc/gcc/valtrack.cc:269
0x131cef3 dead_debug_global_replace_temp
        /home/toon/compilers/gcc/gcc/valtrack.cc:321
0x131df33 dead_debug_promote_uses
        /home/toon/compilers/gcc/gcc/valtrack.cc:450
0x131df33 dead_debug_local_finish(dead_debug_local*, bitmap_head*)
        /home/toon/compilers/gcc/gcc/valtrack.cc:487
0x1d777eb dce_process_block
        /home/toon/compilers/gcc/gcc/dce.cc:1060
0x1d777eb fast_dce
        /home/toon/compilers/gcc/gcc/dce.cc:1128
0x1d77d17 rest_of_handle_fast_dce
        /home/toon/compilers/gcc/gcc/dce.cc:1194
0x1d77d17 run_fast_df_dce()
        /home/toon/compilers/gcc/gcc/dce.cc:1242
0xa6c8e7 df_lr_finalize
        /home/toon/compilers/gcc/gcc/df-problems.cc:1065
0xa6585f df_analyze_problem(dataflow*, bitmap_head*, int*, int)
        /home/toon/compilers/gcc/gcc/df-core.cc:1190
0xa658ff df_analyze_1
        /home/toon/compilers/gcc/gcc/df-core.cc:1235
0x1e5574b sched_init()
        /home/toon/compilers/gcc/gcc/haifa-sched.cc:7348
0x1e570e7 haifa_sched_init()
        /home/toon/compilers/gcc/gcc/haifa-sched.cc:7372
0xf38a4f schedule_insns()
        /home/toon/compilers/gcc/gcc/sched-rgn.cc:3517
0xf39157 schedule_insns()
        /home/toon/compilers/gcc/gcc/sched-rgn.cc:3511
0xf39157 rest_of_handle_sched
        /home/toon/compilers/gcc/gcc/sched-rgn.cc:3729
0xf39157 execute
        /home/toon/compilers/gcc/gcc/sched-rgn.cc:3839
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.
FAIL: math/cmplx

The build was started with the following system compiler:

$ echo | gcc -### -E - -march=native -mtune=native
Using built-in specs.
COLLECT_GCC=gcc
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 13.2.0-9'
--with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr
--with-gcc-major-version-only --program-suffix=-13
--program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id
--libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-libquadmath --disable-libquadmath-support --enable-plugin
--enable-default-pie --with-system-zlib --enable-libphobos-checking=release
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch
--enable-fix-cortex-a53-843419 --disable-werror
--enable-offload-targets=nvptx-none=/build/reproducible-path/gcc-13-13.2.0/debian/tmp-nvptx/usr
--enable-offload-defaulted --without-cuda-driver --enable-checking=release
--build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu
--with-build-config=bootstrap-lto-lean --enable-link-serialization=4
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (Debian 13.2.0-9) 
COLLECT_GCC_OPTIONS='-E'   '-mlittle-endian' '-mabi=lp64' '-mtune=thunderxt88'
 /usr/libexec/gcc/aarch64-linux-gnu/13/cc1 -E -quiet -imultiarch
aarch64-linux-gnu - -mlittle-endian "-mabi=lp64" "-mtune=thunderxt88"
-fasynchronous-unwind-tables -dumpbase -
COMPILER_PATH=/usr/libexec/gcc/aarch64-linux-gnu/13/:/usr/libexec/gcc/aarch64-linux-gnu/13/:/usr/libexec/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/13/:/usr/lib/gcc/aarch64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/13/:/usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/13/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/13/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-E'   '-mlittle-endian' '-mabi=lp64' '-mtune=thunderxt88'

using these configure flags:

Compiler version: 14.0.1 20240127 (experimental) [master r14-8465-g5200ef26ac1]
(GCC) 
Platform: aarch64-unknown-linux-gnu
configure flags: --prefix=/home/toon/compilers/install/gcc --with-gnu-as
--with-gnu-ld --enable-languages=all --disable-multilib --disable-nls

CPU information:

$ cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 200.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x43
CPU architecture: 8
CPU variant     : 0x1
CPU part        : 0x0a1
CPU revision    : 1
....
processor       : 47
BogoMIPS        : 200.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x43
CPU architecture: 8
CPU variant     : 0x1
CPU part        : 0x0a1
CPU revision    : 1

Link to the test summary:

https://gcc.gnu.org/pipermail/gcc-testresults/2024-January/806431.html

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-01-30  9:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-28 14:10 [Bug middle-end/113636] New: internal compiler error: in dead_debug_global_find, at valtrack.cc:275 toon at moene dot org
2024-01-29  3:51 ` [Bug debug/113636] " pinskia at gcc dot gnu.org
2024-01-29  3:53 ` [Bug debug/113636] [14 Regression] " pinskia at gcc dot gnu.org
2024-01-29  3:56 ` pinskia at gcc dot gnu.org
2024-01-29  4:26 ` pinskia at gcc dot gnu.org
2024-01-29  4:48 ` pinskia at gcc dot gnu.org
2024-01-29  5:16 ` pinskia at gcc dot gnu.org
2024-01-29  5:59 ` pinskia at gcc dot gnu.org
2024-01-29 12:20 ` claudio.bantaloukas at arm dot com
2024-01-29 13:50 ` claudio.bantaloukas at arm dot com
2024-01-29 14:10 ` [Bug debug/113636] [14 Regression] internal compiler error: in dead_debug_global_find, at valtrack.cc:275 since r14-6290-g9f0f7d802482a8 rsandifo at gcc dot gnu.org
2024-01-30  9:30 ` cvs-commit at gcc dot gnu.org
2024-01-30  9:37 ` rsandifo at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).