From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C99D43858D38; Tue, 31 Oct 2023 08:17:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C99D43858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698740230; bh=Vc91Ce4/Y3yXA9laEfxfOclK6gsTNa6Rz5R2dUSTWus=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yJI0rMxennKl0Mc7O55H6DR6t2vxcf1x6NhEgOU0RLV6Hckpb9qq2ALzUHKrs2Q7Z eV/mU8+xS1i3iUluEVhYBTc4J/5MBdshaOiJqBdqlCTKgkJLdXr8pFm2X8/MHOWEFC mZNaHe9pOUsw0jUmsaXaS+zvRF2apU98weU3pZ/I= From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112269] [14 Regression] x86_64 GNU/Linux '-m32' multilib 'libstdc++-v3/include/complex:1493: internal compiler error: in tsubst_expr, at cp/pt.cc:21534' since r14-4796-g3e3d73ed5e85e7 Date: Tue, 31 Oct 2023 08:17:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code, needs-reduction, testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D112269 --- Comment #6 from Thomas Schwinge --- Created attachment 56479 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56479&action=3Dedit 'initlist13.ii.xz' (In reply to Patrick Palka from comment #5) > I can't reproduce any of these testsuite failures on trunk with x86_64 > -m32... could you provide a preprocessed source file perhaps? Sure; I'm attaching 'testsuite/g++.dg/cpp0x/initlist13.C' (picked at random; not yet reduced): $ build-gcc/gcc/cc1plus -fpreprocessed initlist13.ii -quiet -m32 -mtune=3Dgeneric -march=3Dx86-64 -pedantic-errors -Wno-long-long -std=3Dc++= 20 -o initlist13.s In file included from [...]/source-gcc/gcc/testsuite/g++.dg/cpp0x/initlist13.C:4: [...]/build-gcc/x86_64-pc-linux-gnu/32/libstdc++-v3/include/complex: In member function =E2=80=98constexpr std::complex& std::complex::operator/=3D(const std::complex<_Tp>&)=E2=80=99: =20=20=20 [...]/build-gcc/x86_64-pc-linux-gnu/32/libstdc++-v3/include/complex:1493:16: internal compiler error: in tsubst_expr, at cp/pt.cc:21534 [...] For avoidance of doubt: (In reply to Andreas Schwab from comment #2) > Similar failures on m68k. >=20 > g++[...] ..., indeed I'm seeing similar C++ front end testing regressions -- I just = had not yet looked into those test results when I filed this issue. PASS: g++.dg/cpp0x/initlist13.C -std=3Dc++14 (test for excess errors) PASS: g++.dg/cpp0x/initlist13.C -std=3Dc++17 (test for excess errors) [-PASS:-]{+FAIL: g++.dg/cpp0x/initlist13.C -std=3Dc++20 (internal comp= iler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.dg/cpp0x/initlist13.C -std=3Dc++20 (test for excess erro= rs) UNSUPPORTED: g++.dg/cpp0x/initlist13.C -std=3Dc++98 @@ -330299,8 +332283,9 @@ PASS: g++.dg/cpp0x/udlit-general.C -std=3Dc+= +14 (test for excess errors) PASS: g++.dg/cpp0x/udlit-general.C -std=3Dc++14 execution test PASS: g++.dg/cpp0x/udlit-general.C -std=3Dc++17 (test for excess error= s) PASS: g++.dg/cpp0x/udlit-general.C -std=3Dc++17 execution test [-PASS:-]{+FAIL: g++.dg/cpp0x/udlit-general.C -std=3Dc++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.dg/cpp0x/udlit-general.C -std=3Dc++20 (test for excess e= rrors) [-PASS:-]{+UNRESOLVED:+} g++.dg/cpp0x/udlit-general.C -std=3Dc++20 [-execution test-]{+compilation failed to produce executable+} UNSUPPORTED: g++.dg/cpp0x/udlit-general.C -std=3Dc++98 PASS: g++.dg/cpp1y/complex_literals1.C -std=3Dc++14 (test for excess e= rrors) PASS: g++.dg/cpp1y/complex_literals1.C -std=3Dc++17 (test for excess e= rrors) [-PASS:-]{+FAIL: g++.dg/cpp1y/complex_literals1.C -std=3Dc++20 (intern= al compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.dg/cpp1y/complex_literals1.C -std=3Dc++20 (test for exce= ss errors) UNSUPPORTED: g++.dg/cpp1y/complex_literals1.C -std=3Dc++98 PASS: g++.dg/cpp1y/udlit-userdef-string.C -std=3Dc++14 (test for excess errors) PASS: g++.dg/cpp1y/udlit-userdef-string.C -std=3Dc++17 (test for excess errors) [-PASS:-]{+FAIL: g++.dg/cpp1y/udlit-userdef-string.C -std=3Dc++20 (int= ernal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.dg/cpp1y/udlit-userdef-string.C -std=3Dc++20 (test for e= xcess errors) UNSUPPORTED: g++.dg/cpp1y/udlit-userdef-string.C -std=3Dc++98 @@ -379174,8 +381318,9 @@ PASS: g++.dg/opt/nrv17.C -std=3Dc++14 (test = for excess errors) PASS: g++.dg/opt/nrv17.C -std=3Dc++14 execution test PASS: g++.dg/opt/nrv17.C -std=3Dc++17 (test for excess errors) PASS: g++.dg/opt/nrv17.C -std=3Dc++17 execution test [-PASS:-]{+FAIL: g++.dg/opt/nrv17.C -std=3Dc++20 (internal compiler er= ror: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.dg/opt/nrv17.C -std=3Dc++20 (test for excess errors) [-PASS:-]{+UNRESOLVED:+} g++.dg/opt/nrv17.C -std=3Dc++20 [-execution test-]{+compilation failed to produce executable+} PASS: g++.dg/opt/nrv17.C -std=3Dc++98 (test for excess errors) PASS: g++.dg/opt/nrv17.C -std=3Dc++98 execution test PASS: g++.dg/modules/xtreme-header-5_a.H -std=3Dc++17 (test for excess errors) [-PASS:-]{+FAIL: g++.dg/modules/xtreme-header-5_a.H -std=3Dc++2a (inter= nal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.dg/modules/xtreme-header-5_a.H -std=3Dc++2a (test for exc= ess errors) [-PASS:-]{+FAIL: g++.dg/modules/xtreme-header-5_a.H -std=3Dc++2b (inter= nal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.dg/modules/xtreme-header-5_a.H -std=3Dc++2b (test for exc= ess errors)[-PASS: g++.dg/modules/xtreme-header-5_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-header-5_a.H.gcm)-] [-PASS: g++.dg/modules/xtreme-header-5_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-header-5_a.H.gcm)-] PASS: g++.dg/modules/xtreme-header-5_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-header-5_a.H.gcm) {+FAIL: g++.dg/modules/xtreme-header-5_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-header-5_a.H.gcm)+} {+FAIL: g++.dg/modules/xtreme-header-5_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-header-5_a.H.gcm)+} PASS: g++.dg/modules/xtreme-header-5_b.C -std=3Dc++17 (test for excess errors) [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-header-5_b.C -std=3Dc++2a (tes= t for excess errors) [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-header-5_b.C -std=3Dc++2b (tes= t for excess errors) PASS: g++.dg/modules/xtreme-header-5_c.C -std=3Dc++17 (test for excess errors) [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-header-5_c.C -std=3Dc++2a (tes= t for excess errors) [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-header-5_c.C -std=3Dc++2b (tes= t for excess errors) PASS: g++.dg/modules/xtreme-header_a.H -std=3Dc++17 (test for excess er= rors) [-PASS:-]{+FAIL: g++.dg/modules/xtreme-header_a.H -std=3Dc++2a (internal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.dg/modules/xtreme-header_a.H -std=3Dc++2a (test for excess errors) [-PASS:-]{+FAIL: g++.dg/modules/xtreme-header_a.H -std=3Dc++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.dg/modules/xtreme-header_a.H -std=3Dc++2b (test for excess errors)[-PASS: g++.dg/modules/xtreme-header_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-header_a.H.gcm)-] [-PASS: g++.dg/modules/xtreme-header_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-header_a.H.gcm)-] PASS: g++.dg/modules/xtreme-header_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-header_a.H.gcm) {+FAIL: g++.dg/modules/xtreme-header_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-header_a.H.gcm)+} {+FAIL: g++.dg/modules/xtreme-header_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-header_a.H.gcm)+} PASS: g++.dg/modules/xtreme-header_b.C -std=3Dc++17 (test for excess er= rors) [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-header_b.C -std=3Dc++2a (test = for excess errors) [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-header_b.C -std=3Dc++2b (test = for excess errors) PASS: g++.dg/modules/xtreme-tr1_a.H -std=3Dc++17 (test for excess error= s) [-PASS:-]{+FAIL: g++.dg/modules/xtreme-tr1_a.H -std=3Dc++2a (internal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.dg/modules/xtreme-tr1_a.H -std=3Dc++2a (test for excess e= rrors) [-PASS:-]{+FAIL: g++.dg/modules/xtreme-tr1_a.H -std=3Dc++2b (internal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.dg/modules/xtreme-tr1_a.H -std=3Dc++2b (test for excess errors)[-PASS: g++.dg/modules/xtreme-tr1_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-tr1_a.H.gcm)-] [-PASS: g++.dg/modules/xtreme-tr1_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-tr1_a.H.gcm)-] PASS: g++.dg/modules/xtreme-tr1_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-tr1_a.H.gcm) {+FAIL: g++.dg/modules/xtreme-tr1_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-tr1_a.H.gcm)+} {+FAIL: g++.dg/modules/xtreme-tr1_a.H module-cmi=20 (gcm.cache/$srcdir/g++.dg/modules/xtreme-tr1_a.H.gcm)+} PASS: g++.dg/modules/xtreme-tr1_b.C -std=3Dc++17 (test for excess error= s) [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-tr1_b.C -std=3Dc++2a (test for excess errors) [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-tr1_b.C -std=3Dc++2b (test for excess errors) PASS: g++.old-deja/g++.brendan/crash20.C -std=3Dc++14 (test for excess errors) PASS: g++.old-deja/g++.brendan/crash20.C -std=3Dc++17 (test for excess errors) [-PASS:-]{+FAIL: g++.old-deja/g++.brendan/crash20.C -std=3Dc++20 (inte= rnal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.old-deja/g++.brendan/crash20.C -std=3Dc++20 (test for ex= cess errors) PASS: g++.old-deja/g++.brendan/crash20.C -std=3Dc++98 (test for excess errors) PASS: g++.old-deja/g++.law/ctors6.C -std=3Dc++14 (test for excess erro= rs) PASS: g++.old-deja/g++.law/ctors6.C -std=3Dc++17 (test for excess erro= rs) [-PASS:-]{+FAIL: g++.old-deja/g++.law/ctors6.C -std=3Dc++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.old-deja/g++.law/ctors6.C -std=3Dc++20 (test for excess errors) PASS: g++.old-deja/g++.law/ctors6.C -std=3Dc++98 (test for excess erro= rs) @@ -499462,8 +502648,9 @@ PASS: g++.old-deja/g++.law/operators4.C=20 -std=3Dc++14 (test for errors, line 18) PASS: g++.old-deja/g++.law/operators4.C -std=3Dc++14 (test for excess errors) PASS: g++.old-deja/g++.law/operators4.C -std=3Dc++17 (test for errors= , line 18) PASS: g++.old-deja/g++.law/operators4.C -std=3Dc++17 (test for excess errors) [-PASS:-]{+FAIL:+} g++.old-deja/g++.law/operators4.C -std=3Dc++20 (te= st for errors, line 18) [-PASS:-]{+FAIL: g++.old-deja/g++.law/operators4.C -std=3Dc++20 (inter= nal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.old-deja/g++.law/operators4.C -std=3Dc++20 (test for exc= ess errors) PASS: g++.old-deja/g++.law/operators4.C -std=3Dc++98 (test for errors= , line 18) PASS: g++.old-deja/g++.law/operators4.C -std=3Dc++98 (test for excess errors) @@ -507132,8 +510319,9 @@ PASS: g++.old-deja/g++.other/headers1.C=20 -std=3Dc++14 (test for excess errors) PASS: g++.old-deja/g++.other/headers1.C -std=3Dc++14 execution test PASS: g++.old-deja/g++.other/headers1.C -std=3Dc++17 (test for excess errors) PASS: g++.old-deja/g++.other/headers1.C -std=3Dc++17 execution test [-PASS:-]{+FAIL: g++.old-deja/g++.other/headers1.C -std=3Dc++20 (inter= nal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.old-deja/g++.other/headers1.C -std=3Dc++20 (test for exc= ess errors) [-PASS:-]{+UNRESOLVED:+} g++.old-deja/g++.other/headers1.C -std=3Dc++20 [-execution test-]{+compilation failed to produce executable+} PASS: g++.old-deja/g++.other/headers1.C -std=3Dc++98 (test for excess errors) PASS: g++.old-deja/g++.other/headers1.C -std=3Dc++98 execution test PASS: g++.old-deja/g++.robertl/eb3.C -std=3Dc++14 (test for excess err= ors) PASS: g++.old-deja/g++.robertl/eb3.C -std=3Dc++17 (test for excess err= ors) [-PASS:-]{+FAIL: g++.old-deja/g++.robertl/eb3.C -std=3Dc++20 (internal compiler error: in tsubst_expr, at cp/pt.cc:21534)+} {+FAIL:+} g++.old-deja/g++.robertl/eb3.C -std=3Dc++20 (test for excess errors) PASS: g++.old-deja/g++.robertl/eb3.C -std=3Dc++98 (test for excess err= ors)=