From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DBC41385DC04; Fri, 3 Apr 2020 20:26:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DBC41385DC04 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585945616; bh=Er/kMOzkkGdpLuAgX24+RPw7IaqCUvPN9xJFXYVXZ+E=; h=From:To:Subject:Date:From; b=V6gHgU85k6cznTLsIF1GgIBzzVGw0/K6fiUqItVmXdX7HPgL2VdKobxZxZC2gBVal TOfSXXt6I4hqLgDAODChjwtmSBF0KuOUc40CsXB4b7nBCAXjGdStJXnk99JI4vWUfA hHP3XoVOcBQ0twaddoMSDIurqySa/ujasAkWaXXk= From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94480] New: ICE in cp_parser_abort_tentative_parse, at cp/parser.c:31858 Date: Fri, 03 Apr 2020 20:26:56 +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: 10.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone 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: Fri, 03 Apr 2020 20:26:57 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94480 Bug ID: 94480 Summary: ICE in cp_parser_abort_tentative_parse, at cp/parser.c:31858 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- g++-10.0.1-alpha20200329 snapshot (g:60c254b279e8e8443b8ad26cc46b9e4084cff6= 6c) ICEs when compiling the following testcase, extracted from test/CXX/expr/expr.prim/expr.prim.req/requires-expr.cpp from the clang 10.0= .0 test suite, w/ -fconcepts: template constexpr bool is_same_v =3D false; static_assert(is_same_v); % g++-10.0.1 -fconcepts -c nn8nrioc.cpp nn8nrioc.cpp:4:60: note: the expression 'false' evaluated to 'false' 4 | static_assert(is_same_v); | ~~~~~~~~~^~~~~ nn8nrioc.cpp:4:67: internal compiler error: in cp_parser_abort_tentative_pa= rse, at cp/parser.c:31858 4 | static_assert(is_same_v); | ^ 0x63c536 cp_parser_abort_tentative_parse =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:31858 0x63c536 cp_parser_abort_tentative_parse =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:31856 0x9a9b4f cp_parser_decltype_expr =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:14832 0x9a9b4f cp_parser_decltype =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:14920 0x9b34ef cp_parser_simple_type_specifier =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:18008 0x996e45 cp_parser_type_specifier =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:17784 0x9aca80 cp_parser_type_specifier_seq =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:22385 0x9a53c7 cp_parser_type_id_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:22202 0x9a82e3 cp_parser_template_type_arg =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:22293 0x9acc1f cp_parser_template_argument =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:17181 0x9acc1f cp_parser_template_argument_list =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:17092 0x9acc1f cp_parser_enclosed_template_argument_list =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:29761 0x9adf60 cp_parser_template_id =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:16664 0x9ae62a cp_parser_class_name =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:23696 0x9aa385 cp_parser_qualifying_entity =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:6773 0x9aa385 cp_parser_nested_name_specifier_opt =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:6455 0x9b2f59 cp_parser_simple_type_specifier =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:18126 0x9a83ea cp_parser_postfix_expression =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:7173 0x98a669 cp_parser_binary_expression =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:9554 0x98c31e cp_parser_assignment_expression =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200329/work/gcc-10-20200329/gc= c/cp/parser.c:9859=