From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1AC153857C67; Sat, 5 Jun 2021 22:25:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1AC153857C67 From: "josephcanedo at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/100928] New: [c++20] ICE with structural type value returned from constexpr function as template argument Date: Sat, 05 Jun 2021 22:25:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: josephcanedo at hotmail dot com 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2021 22:25:17 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100928 Bug ID: 100928 Summary: [c++20] ICE with structural type value returned from constexpr function as template argument Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: josephcanedo at hotmail dot com Target Milestone: --- Created attachment 50953 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D50953&action=3Dedit test_tag.cpp $ g++-11 -std=3Dc++20 -c test_tag.cpp test_tag.cpp:40:43: internal compiler error: Segmentation fault 40 | using concat_test =3D test; | ^ 0xe30681 internal_error(char const*, ...) ???:0 0x1062d42 resolve_args(vec*, int) ???:0 0x10a169a finish_template_type(tree_node*, tree_node*, int) ???:0 0x1492c03 c_parse_file() ???:0 0x148061e c_common_parse_file() ???:0 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=