public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107594] New: ICE in module_state, at cp/module.cc:3810
@ 2022-11-09 17:53 gscfq@t-online.de
  2022-11-21 10:42 ` [Bug c++/107594] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: gscfq@t-online.de @ 2022-11-09 17:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107594
           Summary: ICE in module_state, at cp/module.cc:3810
           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 with r11 :
(gcc configured with --enable-checking=yes)


$ cat z1.cc
import <nix>;


$ gcc-13-20221106 -c z1.cc -fmodules-ts -nostdinc
z1.cc:1:8: error: no include path in which to search for nix
    1 | import <nix>;
      |        ^~~~~
z1.cc:1:1: internal compiler error: in module_state, at cp/module.cc:3810
    1 | import <nix>;
      | ^~~~~~
0x98332e module_state::module_state(tree_node*, module_state*, bool)
        ../../gcc/cp/module.cc:3808
0x99b3a1 get_module(tree_node*, module_state*, bool)
        ../../gcc/cp/module.cc:13952
0x95554c module_token_filter::resume(int, int, tree_node*, unsigned int)
        ../../gcc/cp/lex.cc:513
0x95554c module_token_lang(int, int, tree_node*, unsigned int, unsigned long)
        ../../gcc/cp/lex.cc:563
0xa3b56b cp_lexer_new_main
        ../../gcc/cp/parser.cc:728
0xa3b56b c_parse_file()
        ../../gcc/cp/parser.cc:48815
0xbe0a71 c_common_parse_file()
        ../../gcc/c-family/c-opts.cc:1244

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-30  4:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-09 17:53 [Bug c++/107594] New: ICE in module_state, at cp/module.cc:3810 gscfq@t-online.de
2022-11-21 10:42 ` [Bug c++/107594] " marxin at gcc dot gnu.org
2024-01-30  4:22 ` cvs-commit at gcc dot gnu.org
2024-01-30  4:23 ` nshead at gcc dot gnu.org

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