public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-112269-4-DkI1WCT4Jq@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-112269-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Created attachment 56479
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56479&action=edit
'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=generic -march=x86-64 -pedantic-errors -Wno-long-long -std=c++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 ‘constexpr std::complex<float>&
std::complex<float>::operator/=(const std::complex<_Tp>&)’:
   
[...]/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.
> 
> 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=c++14 (test for excess errors)
    PASS: g++.dg/cpp0x/initlist13.C  -std=c++17 (test for excess errors)
    [-PASS:-]{+FAIL: g++.dg/cpp0x/initlist13.C  -std=c++20 (internal compiler
error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.dg/cpp0x/initlist13.C  -std=c++20 (test for excess errors)
    UNSUPPORTED: g++.dg/cpp0x/initlist13.C  -std=c++98

    @@ -330299,8 +332283,9 @@ PASS: g++.dg/cpp0x/udlit-general.C  -std=c++14
(test for excess errors)
    PASS: g++.dg/cpp0x/udlit-general.C  -std=c++14 execution test
    PASS: g++.dg/cpp0x/udlit-general.C  -std=c++17 (test for excess errors)
    PASS: g++.dg/cpp0x/udlit-general.C  -std=c++17 execution test
    [-PASS:-]{+FAIL: g++.dg/cpp0x/udlit-general.C  -std=c++20 (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.dg/cpp0x/udlit-general.C  -std=c++20 (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} g++.dg/cpp0x/udlit-general.C  -std=c++20
[-execution test-]{+compilation failed to produce executable+}
    UNSUPPORTED: g++.dg/cpp0x/udlit-general.C  -std=c++98

    PASS: g++.dg/cpp1y/complex_literals1.C  -std=c++14 (test for excess errors)
    PASS: g++.dg/cpp1y/complex_literals1.C  -std=c++17 (test for excess errors)
    [-PASS:-]{+FAIL: g++.dg/cpp1y/complex_literals1.C  -std=c++20 (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.dg/cpp1y/complex_literals1.C  -std=c++20 (test for excess
errors)
    UNSUPPORTED: g++.dg/cpp1y/complex_literals1.C  -std=c++98

    PASS: g++.dg/cpp1y/udlit-userdef-string.C  -std=c++14 (test for excess
errors)
    PASS: g++.dg/cpp1y/udlit-userdef-string.C  -std=c++17 (test for excess
errors)
    [-PASS:-]{+FAIL: g++.dg/cpp1y/udlit-userdef-string.C  -std=c++20 (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.dg/cpp1y/udlit-userdef-string.C  -std=c++20 (test for excess
errors)
    UNSUPPORTED: g++.dg/cpp1y/udlit-userdef-string.C  -std=c++98

    @@ -379174,8 +381318,9 @@ PASS: g++.dg/opt/nrv17.C  -std=c++14 (test for
excess errors)
    PASS: g++.dg/opt/nrv17.C  -std=c++14 execution test
    PASS: g++.dg/opt/nrv17.C  -std=c++17 (test for excess errors)
    PASS: g++.dg/opt/nrv17.C  -std=c++17 execution test
    [-PASS:-]{+FAIL: g++.dg/opt/nrv17.C  -std=c++20 (internal compiler error:
in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.dg/opt/nrv17.C  -std=c++20 (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} g++.dg/opt/nrv17.C  -std=c++20 [-execution
test-]{+compilation failed to produce executable+}
    PASS: g++.dg/opt/nrv17.C  -std=c++98 (test for excess errors)
    PASS: g++.dg/opt/nrv17.C  -std=c++98 execution test

    PASS: g++.dg/modules/xtreme-header-5_a.H -std=c++17 (test for excess
errors)
    [-PASS:-]{+FAIL: g++.dg/modules/xtreme-header-5_a.H -std=c++2a (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.dg/modules/xtreme-header-5_a.H -std=c++2a (test for excess
errors)
    [-PASS:-]{+FAIL: g++.dg/modules/xtreme-header-5_a.H -std=c++2b (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.dg/modules/xtreme-header-5_a.H -std=c++2b (test for excess
errors)[-PASS: g++.dg/modules/xtreme-header-5_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-header-5_a.H.gcm)-]
    [-PASS: g++.dg/modules/xtreme-header-5_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-header-5_a.H.gcm)-]
    PASS: g++.dg/modules/xtreme-header-5_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-header-5_a.H.gcm)
    {+FAIL: g++.dg/modules/xtreme-header-5_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-header-5_a.H.gcm)+}
    {+FAIL: g++.dg/modules/xtreme-header-5_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-header-5_a.H.gcm)+}
    PASS: g++.dg/modules/xtreme-header-5_b.C -std=c++17 (test for excess
errors)
    [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-header-5_b.C -std=c++2a (test for
excess errors)
    [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-header-5_b.C -std=c++2b (test for
excess errors)
    PASS: g++.dg/modules/xtreme-header-5_c.C -std=c++17 (test for excess
errors)
    [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-header-5_c.C -std=c++2a (test for
excess errors)
    [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-header-5_c.C -std=c++2b (test for
excess errors)

    PASS: g++.dg/modules/xtreme-header_a.H -std=c++17 (test for excess errors)
    [-PASS:-]{+FAIL: g++.dg/modules/xtreme-header_a.H -std=c++2a (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.dg/modules/xtreme-header_a.H -std=c++2a (test for excess
errors)
    [-PASS:-]{+FAIL: g++.dg/modules/xtreme-header_a.H -std=c++2b (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.dg/modules/xtreme-header_a.H -std=c++2b (test for excess
errors)[-PASS: g++.dg/modules/xtreme-header_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-header_a.H.gcm)-]
    [-PASS: g++.dg/modules/xtreme-header_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-header_a.H.gcm)-]
    PASS: g++.dg/modules/xtreme-header_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-header_a.H.gcm)
    {+FAIL: g++.dg/modules/xtreme-header_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-header_a.H.gcm)+}
    {+FAIL: g++.dg/modules/xtreme-header_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-header_a.H.gcm)+}
    PASS: g++.dg/modules/xtreme-header_b.C -std=c++17 (test for excess errors)
    [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-header_b.C -std=c++2a (test for
excess errors)
    [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-header_b.C -std=c++2b (test for
excess errors)
    PASS: g++.dg/modules/xtreme-tr1_a.H -std=c++17 (test for excess errors)
    [-PASS:-]{+FAIL: g++.dg/modules/xtreme-tr1_a.H -std=c++2a (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.dg/modules/xtreme-tr1_a.H -std=c++2a (test for excess errors)
    [-PASS:-]{+FAIL: g++.dg/modules/xtreme-tr1_a.H -std=c++2b (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.dg/modules/xtreme-tr1_a.H -std=c++2b (test for excess
errors)[-PASS: g++.dg/modules/xtreme-tr1_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-tr1_a.H.gcm)-]
    [-PASS: g++.dg/modules/xtreme-tr1_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-tr1_a.H.gcm)-]
    PASS: g++.dg/modules/xtreme-tr1_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-tr1_a.H.gcm)
    {+FAIL: g++.dg/modules/xtreme-tr1_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-tr1_a.H.gcm)+}
    {+FAIL: g++.dg/modules/xtreme-tr1_a.H module-cmi 
(gcm.cache/$srcdir/g++.dg/modules/xtreme-tr1_a.H.gcm)+}
    PASS: g++.dg/modules/xtreme-tr1_b.C -std=c++17 (test for excess errors)
    [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-tr1_b.C -std=c++2a (test for
excess errors)
    [-PASS:-]{+FAIL:+} g++.dg/modules/xtreme-tr1_b.C -std=c++2b (test for
excess errors)

    PASS: g++.old-deja/g++.brendan/crash20.C  -std=c++14 (test for excess
errors)
    PASS: g++.old-deja/g++.brendan/crash20.C  -std=c++17 (test for excess
errors)
    [-PASS:-]{+FAIL: g++.old-deja/g++.brendan/crash20.C  -std=c++20 (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.old-deja/g++.brendan/crash20.C  -std=c++20 (test for excess
errors)
    PASS: g++.old-deja/g++.brendan/crash20.C  -std=c++98 (test for excess
errors)

    PASS: g++.old-deja/g++.law/ctors6.C  -std=c++14 (test for excess errors)
    PASS: g++.old-deja/g++.law/ctors6.C  -std=c++17 (test for excess errors)
    [-PASS:-]{+FAIL: g++.old-deja/g++.law/ctors6.C  -std=c++20 (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.old-deja/g++.law/ctors6.C  -std=c++20 (test for excess
errors)
    PASS: g++.old-deja/g++.law/ctors6.C  -std=c++98 (test for excess errors)

    @@ -499462,8 +502648,9 @@ PASS: g++.old-deja/g++.law/operators4.C 
-std=c++14  (test for errors, line 18)
    PASS: g++.old-deja/g++.law/operators4.C  -std=c++14 (test for excess
errors)
    PASS: g++.old-deja/g++.law/operators4.C  -std=c++17  (test for errors, line
18)
    PASS: g++.old-deja/g++.law/operators4.C  -std=c++17 (test for excess
errors)
    [-PASS:-]{+FAIL:+} g++.old-deja/g++.law/operators4.C  -std=c++20  (test for
errors, line 18)
    [-PASS:-]{+FAIL: g++.old-deja/g++.law/operators4.C  -std=c++20 (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.old-deja/g++.law/operators4.C  -std=c++20 (test for excess
errors)
    PASS: g++.old-deja/g++.law/operators4.C  -std=c++98  (test for errors, line
18)
    PASS: g++.old-deja/g++.law/operators4.C  -std=c++98 (test for excess
errors)

    @@ -507132,8 +510319,9 @@ PASS: g++.old-deja/g++.other/headers1.C 
-std=c++14 (test for excess errors)
    PASS: g++.old-deja/g++.other/headers1.C  -std=c++14 execution test
    PASS: g++.old-deja/g++.other/headers1.C  -std=c++17 (test for excess
errors)
    PASS: g++.old-deja/g++.other/headers1.C  -std=c++17 execution test
    [-PASS:-]{+FAIL: g++.old-deja/g++.other/headers1.C  -std=c++20 (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.old-deja/g++.other/headers1.C  -std=c++20 (test for excess
errors)
    [-PASS:-]{+UNRESOLVED:+} g++.old-deja/g++.other/headers1.C  -std=c++20
[-execution test-]{+compilation failed to produce executable+}
    PASS: g++.old-deja/g++.other/headers1.C  -std=c++98 (test for excess
errors)
    PASS: g++.old-deja/g++.other/headers1.C  -std=c++98 execution test

    PASS: g++.old-deja/g++.robertl/eb3.C  -std=c++14 (test for excess errors)
    PASS: g++.old-deja/g++.robertl/eb3.C  -std=c++17 (test for excess errors)
    [-PASS:-]{+FAIL: g++.old-deja/g++.robertl/eb3.C  -std=c++20 (internal
compiler error: in tsubst_expr, at cp/pt.cc:21534)+}
    {+FAIL:+} g++.old-deja/g++.robertl/eb3.C  -std=c++20 (test for excess
errors)
    PASS: g++.old-deja/g++.robertl/eb3.C  -std=c++98 (test for excess errors)

  parent reply	other threads:[~2023-10-31  8:17 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-28 20:52 [Bug c++/112269] New: [14 Regression] x86_64 GNU/Linux '-m32' multilib 'libstdc++-v3/include/complex:1493: internal compiler error: in tsubst_expr, at cp/pt.cc:21534' tschwinge at gcc dot gnu.org
2023-10-28 21:03 ` [Bug c++/112269] " pinskia at gcc dot gnu.org
2023-10-28 21:04 ` pinskia at gcc dot gnu.org
2023-10-29  8:37 ` schwab@linux-m68k.org
2023-10-29  9:46 ` schwab@linux-m68k.org
2023-10-29 16:33 ` [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 pinskia at gcc dot gnu.org
2023-10-30 16:19 ` ppalka at gcc dot gnu.org
2023-10-31  8:17 ` tschwinge at gcc dot gnu.org [this message]
2023-10-31 14:58 ` ppalka at gcc dot gnu.org
2023-11-03  7:34 ` pinskia at gcc dot gnu.org
2023-11-03  8:30 ` rguenth at gcc dot gnu.org
2023-11-04  8:28 ` redi at gcc dot gnu.org
2023-11-04 18:56 ` pinskia at gcc dot gnu.org
2023-11-07 17:20 ` ppalka at gcc dot gnu.org
2023-11-15 17:03 ` cvs-commit at gcc dot gnu.org
2023-11-15 17:05 ` ppalka at gcc dot gnu.org
2023-11-24 16:56 ` cvs-commit at gcc dot gnu.org
2023-11-27 22:02 ` cvs-commit at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-112269-4-DkI1WCT4Jq@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).