From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2EA6C3858C1F; Wed, 31 May 2023 10:07:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2EA6C3858C1F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685527632; bh=iGvXAjCyen9dZIZ0AknaaMDTFs1SH65WbJk6jkcUF5o=; h=From:To:Subject:Date:From; b=LcWV8lW779IHV9MHUp0NsRnpv48tNgjMt49jTczw4BssOacvdwte217qt4uh0IXdI ZnCEJR8cp4w1lJvsV5VJA52va33DDNfC+nLSGNwwHIYy61Tm6dTdH2eYtcKm/cIuP0 yy2/CE02fU+1YAWxNMd/+I+Azb06bAPcr3GdqqDw= From: "saifi.khan at nishan dot io" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110056] New: ICE on trying to generate header unit for 'execution' Date: Wed, 31 May 2023 10:07:11 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: saifi.khan at nishan dot io 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 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110056 Bug ID: 110056 Summary: ICE on trying to generate header unit for 'execution' Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: saifi.khan at nishan dot io Target Milestone: --- ENV AMD64 x86_64 64-bit Linux 6.3.5 glibc 2.37-3 gcc version 14.0.0 20230531 (experimental) CMD g++ -std=3Dc++23 -g3 -fmodules-ts -fmodule-only -c -x c++-system-header=20 execution OUTPUT In file included from /opt/gcc/include/c++/14.0.0/pstl/parallel_backend_serial.h:16, from /opt/gcc/include/c++/14.0.0/pstl/parallel_backend.h:1= 4, from /opt/gcc/include/c++/14.0.0/pstl/algorithm_impl.h:22, from /opt/gcc/include/c++/14.0.0/pstl/glue_execution_defs.h:50, from /opt/gcc/include/c++/14.0.0/execution:34: /opt/gcc/include/c++/14.0.0/numeric: In function =E2=80=98constexpr std::common_type_t<_Tp1, _Tp2> std::lcm(_Mn, _Nn)=E2=80=99: /opt/gcc/include/c++/14.0.0/numeric:193:13: internal compiler error: in lookup_mark, at cp/tree.cc:2467 193 | if (__is_constant_evaluated()) | ^~~~~~~~~~~~~~~~~~~~~~~ 0x7acd8c lookup_mark(tree_node*, bool) /opt/gcc/src/gcc/cp/tree.cc:2467 0xb61c7c name_lookup::dedup(bool) /opt/gcc/src/gcc/cp/name-lookup.cc:481 0xb61c7c name_lookup::dedup(bool) /opt/gcc/src/gcc/cp/name-lookup.cc:476 0xb61c7c name_lookup::search_namespace_only(tree_node*) /opt/gcc/src/gcc/cp/name-lookup.cc:949 0xb631cb name_lookup::search_unqualified(tree_node*, cp_binding_level*) /opt/gcc/src/gcc/cp/name-lookup.cc:1142 0xb67a37 lookup_name(tree_node*, LOOK_where, LOOK_want) /opt/gcc/src/gcc/cp/name-lookup.cc:7564 0xb78d3a lookup_name(tree_node*, LOOK_want) /opt/gcc/src/gcc/cp/name-lookup.h:402 0xb78d3a cp_parser_lookup_name /opt/gcc/src/gcc/cp/parser.cc:31412 0xbaad49 cp_parser_class_name /opt/gcc/src/gcc/cp/parser.cc:26003 0xbab03c cp_parser_type_name /opt/gcc/src/gcc/cp/parser.cc:20333 0xbbbe77 cp_parser_simple_type_specifier /opt/gcc/src/gcc/cp/parser.cc:20024 0xb91805 cp_parser_type_specifier /opt/gcc/src/gcc/cp/parser.cc:19614 0xb935d4 cp_parser_decl_specifier_seq /opt/gcc/src/gcc/cp/parser.cc:16089 0xbb4fb1 cp_parser_condition /opt/gcc/src/gcc/cp/parser.cc:13486 0xbc5494 cp_parser_selection_statement /opt/gcc/src/gcc/cp/parser.cc:13243 0xb9741b cp_parser_statement /opt/gcc/src/gcc/cp/parser.cc:12410 0xbc4a91 cp_parser_implicitly_scoped_statement /opt/gcc/src/gcc/cp/parser.cc:14578 0xbc5714 cp_parser_selection_statement /opt/gcc/src/gcc/cp/parser.cc:13276 0xb9741b cp_parser_statement /opt/gcc/src/gcc/cp/parser.cc:12410 0xb9808e cp_parser_statement_seq_opt /opt/gcc/src/gcc/cp/parser.cc:13000=