public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107399] New: ICE in cpp_maybe_module_directive, at libcpp/lex.cc:3454
@ 2022-10-25 17:31 gscfq@t-online.de
  0 siblings, 0 replies; only message in thread
From: gscfq@t-online.de @ 2022-10-25 17:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107399
           Summary: ICE in cpp_maybe_module_directive, at
                    libcpp/lex.cc:3454
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started wirh r11, using e.g. file g++.dg/modules/namespace-1_a.C :
(gcc configured with --enable-checking=yes)


$ g++-13-20221023 -c namespace-1_a.C -fmodules-ts
$
$ g++-13-20221023 -c namespace-1_a.C -fmodules-ts -C
namespace-1_a.C:6:1: internal compiler error: in cpp_maybe_module_directive, at
libcpp/lex.cc:3454
    6 | {
      | ^
0x223f0b0 cpp_maybe_module_directive
        ../../libcpp/lex.cc:3449
0x223f0b0 _cpp_lex_token
        ../../libcpp/lex.cc:3638
0x22459df cpp_get_token_1
        ../../libcpp/macro.cc:2930
0xbbd86d c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int)
        ../../gcc/c-family/c-lex.cc:490
0x9d8b66 cp_lexer_get_preprocessor_token
        ../../gcc/cp/parser.cc:940
0xa36fef cp_lexer_new_main
        ../../gcc/cp/parser.cc:736
0xa36fef c_parse_file()
        ../../gcc/cp/parser.cc:48854
0xbcfb01 c_common_parse_file()
        ../../gcc/c-family/c-opts.cc:1247

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-25 17:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 17:31 [Bug c++/107399] New: ICE in cpp_maybe_module_directive, at libcpp/lex.cc:3454 gscfq@t-online.de

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).