public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "kgledits at cisco dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109357] New: GCC 13.0.1: internal compiler error in cp/constexpr.cc:1685 Date: Fri, 31 Mar 2023 10:47:02 +0000 [thread overview] Message-ID: <bug-109357-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109357 Bug ID: 109357 Summary: GCC 13.0.1: internal compiler error in cp/constexpr.cc:1685 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kgledits at cisco dot com Target Milestone: --- Created attachment 54797 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54797&action=edit C++ file triggering internal compiler error See also https://godbolt.org/z/obn7vvjje . Using the attached CPP file: ==== $ g++ --version g++ (GCC) 13.0.1 20230318 (Red Hat 13.0.1-0) Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ g++ -std=c++20 -O2 -o - input-reduced.cpp input-reduced.cpp: In destructor ‘s2::~s2()’: input-reduced.cpp:15:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 15 | s2::~s2() { s1 = {"", ""}; } | ^~ input-reduced.cpp:15:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 15 | s2::~s2() { s1 = {"", ""}; } | ^~ input-reduced.cpp: In destructor ‘s2::~s2()’: input-reduced.cpp:15:28: internal compiler error: in adjust_temp_type, at cp/constexpr.cc:1685 15 | s2::~s2() { s1 = {"", ""}; } | ^ Please submit a full bug report, with preprocessed source. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccN3KzRp.out file, please attach this to your bugreport. ====
next reply other threads:[~2023-03-31 10:47 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-31 10:47 kgledits at cisco dot com [this message] 2023-03-31 17:00 ` [Bug c++/109357] [12/13 Regression] " xry111 at gcc dot gnu.org 2023-03-31 17:11 ` jakub at gcc dot gnu.org 2023-04-15 2:25 ` jason at gcc dot gnu.org 2023-04-15 16:35 ` cvs-commit at gcc dot gnu.org 2023-04-18 20:46 ` [Bug c++/109357] [12 " jason at gcc dot gnu.org 2023-04-18 20:46 ` 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-109357-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: linkBe 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).