public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/101073] New: [9/10/11/12 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.c:6941
Date: Mon, 14 Jun 2021 17:25:12 +0000	[thread overview]
Message-ID: <bug-101073-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 101073
           Summary: [9/10/11/12 Regression] ICE in
                    cxx_eval_constant_expression, at cp/constexpr.c:6941
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

With file gcc/testsuite/g++.dg/cpp1y/constexpr-nsdmi9.C and option
-fno-elide-constructors, affects versions down to r6 :


$ g++-12-20210613 -c constexpr-nsdmi9.C -fno-elide-constructors
constexpr-nsdmi9.C:15:19: internal compiler error: in
cxx_eval_constant_expression, at cp/constexpr.c:6941
   15 | constexpr X o = { };
      |                   ^
0x6fae2c cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:6941
0x6fa62e cxx_eval_indirect_ref
        ../../gcc/cp/constexpr.c:5019
0x6fa62e cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:6461
0x6fa4b2 cxx_eval_component_reference
        ../../gcc/cp/constexpr.c:3879
0x6fa4b2 cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:6637
0x6fa62e cxx_eval_indirect_ref
        ../../gcc/cp/constexpr.c:5019
0x6fa62e cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:6461
0x7009eb cxx_eval_store_expression
        ../../gcc/cp/constexpr.c:5327
0x6fa70d cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:6350
0x6f7344 cxx_eval_call_expression
        ../../gcc/cp/constexpr.c:2539
0x6f9ff0 cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:6241
0x6f8fe9 cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:6733
0x6f8fe9 cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:6733
0x6f8fe9 cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:6733
0x6faff0 cxx_eval_indirect_ref
        ../../gcc/cp/constexpr.c:4976
0x6faff0 cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:6461
0x70075f cxx_eval_store_expression
        ../../gcc/cp/constexpr.c:5263
0x6fa70d cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:6350
0x6f7344 cxx_eval_call_expression
        ../../gcc/cp/constexpr.c:2539
0x6f9ff0 cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:6241

             reply	other threads:[~2021-06-14 17:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-14 17:25 gscfq@t-online.de [this message]
2021-06-15  7:53 ` [Bug c++/101073] " rguenth at gcc dot gnu.org
2021-10-02  7:45 ` pinskia at gcc dot gnu.org
2021-12-30 16:41 ` jakub at gcc dot gnu.org
2022-05-27  9:45 ` [Bug c++/101073] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:45 ` jakub at gcc dot gnu.org
2023-02-08 22:41 ` mpolacek at gcc dot gnu.org
2023-02-09 14:16 ` mpolacek at gcc dot gnu.org
2023-02-20 17:45 ` cvs-commit at gcc dot gnu.org
2023-02-20 17:51 ` mpolacek 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-101073-4@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).