From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F26BC3858C5E; Tue, 25 Oct 2022 17:31:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F26BC3858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666719118; bh=n3Nly+LRkFDQXtT7lZNQAjhVSmfy1tevoEWSh2Tezps=; h=From:To:Subject:Date:From; b=wBux5ih2BUpStypxJCkgICzJKW5/6+deaIg2yPqnWzIDVtKcFsxF8mBHJqnoYXV0H Ou8gblEK7Hnr1STpyREIZa/7feJZKtu/J+TFZFFIZQhpSJRdzK33AhOTNFzPvPTHrc IMKWHnzx/85NNz8WmMw8pBRkx6uoYyrSwLjp3Lpk= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107399] New: ICE in cpp_maybe_module_directive, at libcpp/lex.cc:3454 Date: Tue, 25 Oct 2022 17:31:58 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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=3D107399 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=3Dyes) $ 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=