From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 59CB83858CDA; Wed, 29 Mar 2023 21:23:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 59CB83858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680125023; bh=ymYCbI5bxS4ntvMavn17smrHLVsQUHI6owYWfZe2gto=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VStzKHhd94O6DFiwZhqfEzeGH5g5uf8yOKKbQOtCGSJeHF0+cdYjB/nDWTHUsTec2 zX0ED8kPt+m93rLsvQiWNuoGPRk3nk5jAiPY/Q33Qboi5LsgF1UgXv4T/lh8spj1Ip FwXDiVXn0rRjR2tk1EbP6FQAOo71JGSAO7PLU5Cs= From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/108713] ICE during RTL pass: into_cfglayout for x86_64-pc-linux-gnu '-m32', C++ 'libgomp.c-c++-common/for-11.c' Date: Wed, 29 Mar 2023 21:23:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108713 --- Comment #3 from Thomas Schwinge --- (Possibly?) similarly now with GCC sources based on 2023-03-28 commit b3c5933ee726004e4e47291d422dfe7ac3345062, with a bunch of local OMP changes= on top (but those shouldn't be touching the relevant area of code), standard bootstrap build, I've observed an ICE as follows on our x86_64-pc-linux-gnu testing system amd_ryzen3, in routine libgomp testing for '-m32': [...] spawn -ignore SIGHUP gcc -x c++ ../source-gcc/libgomp/testsuite/libgomp.c++/../libgomp.c-c++-common/for-5.c -m32 -foffload-options=3Damdgcn-amdhsa=3D-march=3Dgfx906 -I../source-gcc/libgomp/testsuite/../../include -I../source-gcc/libgomp/testsuite/.. -fmessage-length=3D0 -fno-diagnostics-show-caret -fdiagnostics-color=3Dnever -fopenmp -O2 -lstdc= ++ -lm -o ./for-5.exe during RTL pass: reload In file included from ../source-gcc/libgomp/testsuite/libgomp.c++/../libgomp.c-c++-common/for-1.h= :18, from ../source-gcc/libgomp/testsuite/libgomp.c++/../libgomp.c-c++-common/for-5.c= :50: =20=20=20 ../source-gcc/libgomp/testsuite/libgomp.c++/../libgomp.c-c++-common/for-2.h= : In function 'f8_tpf_simd_guided32() [clone ._omp_fn.1]': =20=20=20 ../source-gcc/libgomp/testsuite/libgomp.c++/../libgomp.c-c++-common/for-2.h= :127:29: internal compiler error: Segmentation fault 0x16a1b7f crash_signal [...]/source-gcc/gcc/toplev.cc:314 0x129c1eb base_pool_allocator::remove(void*) [...]/source-gcc/gcc/alloc-pool.h:445 0x129c1eb object_allocator::remove(et_node*) [...]/source-gcc/gcc/alloc-pool.h:524 0x129c1eb et_free_tree_force [...]/source-gcc/gcc/et-forest.cc:502 0x1214868 free_dominance_info(function*, cdi_direction) [...]/source-gcc/gcc/dominance.cc:812 0x1484b08 do_reload [...]/source-gcc/gcc/ira.cc:5955 0x1484b08 execute [...]/source-gcc/gcc/ira.cc:6149 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. compiler exited with status 1 FAIL: libgomp.c++/../libgomp.c-c++-common/for-5.c (internal compiler er= ror: Segmentation fault) [...] (In reply to Thomas Schwinge from comment #2) > (In reply to Jakub Jelinek from comment #1) > > If you can reproduce it with vanilla trunk, it is worth it, sure, but > > without a reliable reproducer there isn't much to do. >=20 > I'll attempt to reproduce with clean sources, and Valgrind enabled. Have not yet gotten to that.=