public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "saifi.khan at nishan dot io" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-110056-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110056

            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=c++23 -g3 -fmodules-ts -fmodule-only -c -x c++-system-header 
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:14,
                 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 ‘constexpr
std::common_type_t<_Tp1, _Tp2> std::lcm(_Mn, _Nn)’:
/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

             reply	other threads:[~2023-05-31 10:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-31 10:07 saifi.khan at nishan dot io [this message]
2023-06-01  0:12 ` [Bug c++/110056] " pinskia 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-110056-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: link
Be 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).