From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 28C093858D32; Sat, 3 Jun 2023 19:34:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28C093858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685820896; bh=Bh8E9dfT6Cn9GiSBRWtW5tc6YjRBhyk916CXZTXWZtI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bjP++GJYwVkA1WN47MLacGs/PclU/ZYOeNI6K5hgnkr06Es2eFzTnjz4mkCiWHSnq bggEtyZWU29ksAyaJD97wJMxyhMy3HVxer+z3ZrQYJCjWy0HuNImqIJa8pQTUZMPWh /QMbhQAlQep/WOOfyyNP4ROj6may1QhA6So/XSlw= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110106] [11/12/13/14 Regression] ICE on noexcept(noexcept(...)) with optional Date: Sat, 03 Jun 2023 19:34:55 +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: 12.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D110106 --- Comment #3 from Andrew Pinski --- The full backtrace of the seg fault: t0.cc:3:36: internal compiler error: Segmentation fault 3 | void y(j<0> z) noexcept(noexcept(g{z})); | ^ 0x128f4af crash_signal /home/apinski/src/upstream-gcc-git/gcc/gcc/toplev.cc:314 0x7f37b9c54def ??? =20=20=20=20=20=20=20 /usr/src/debug/glibc-2.34-60.el9.x86_64/signal/../sysdeps/unix/sysv/linux/x= 86_64/libc_sigaction.c:0 0xa40753 tree_check(tree_node*, char const*, int, char const*, tree_code) /home/apinski/src/upstream-gcc-git/gcc/gcc/tree.h:3539 0xa40753 is_really_empty_class(tree_node*, bool) /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/class.cc:8960 0xa6aa99 potential_constant_expression_1 /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/constexpr.cc:9095 0xa69714 potential_constant_expression_1 /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/constexpr.cc:9309 0xa6be0c potential_constant_expression_1(tree_node*, bool, bool, bool, bool, int) /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/constexpr.cc:10131 0xa6be0c is_rvalue_constant_expression(tree_node*) /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/constexpr.cc:10215 0xba4e75 cp_parser_constant_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:10801 0xba6301 cp_parser_initializer_clause /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:25522 0xba58e1 cp_parser_initializer_list /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:25812 0xba58e1 cp_parser_braced_list /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:25563 0xba8b4c cp_parser_functional_cast /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:32647 0xbb8547 cp_parser_postfix_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:7703 0xba0d6b cp_parser_binary_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:10147 0xba1c72 cp_parser_assignment_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:10491 0xba41c3 cp_parser_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:10661 0xbd6aa8 cp_parser_unary_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:8937 0xba0d6b cp_parser_binary_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:10147 0xba1c72 cp_parser_assignment_expression /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/parser.cc:10491 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions.=