public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cgreeley at student dot bridgew.edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584 Date: Sat, 22 Oct 2022 18:49:27 +0000 [thread overview] Message-ID: <bug-99241-4-8jmTsBydyZ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-99241-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 Christopher Greeley <cgreeley at student dot bridgew.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cgreeley at student dot bridgew.ed | |u --- Comment #5 from Christopher Greeley <cgreeley at student dot bridgew.edu> --- This is still an issue for me using the latest GCC 13 snapshot "gcc-latest_13.0.0-20221016git6366e3e8847a.deb" from: https://jwakely.github.io/pkg-gcc-latest/ I was getting segfaults when compiling modules with 11/12.1/12.2 No more segfaults but importing some include files are giving me trouble namely trying to include: https://github.com/peter-winter/ctpg/blob/6ab0502fc8cffa128bb8ff383f1c4b13cf21b86a/include/ctpg/ctpg.hpp I am using xmake: https://tboox.org/2022/08/25/xmake-update-v2.7.1/ root@fe9917e74f33:~/workdir# xmake [ 0%]: generating.cxx.module.deps Source/Common.mpp [ 26%]: generating.cxx.headerunit.bmi ctpg/ctpg.hpp error: In file included from /opt/gcc-latest/include/c++/13.0.0/ios:43, from /opt/gcc-latest/include/c++/13.0.0/ostream:40, from /root/.conan/data/ctpg/1.3.7/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ctpg/ctpg.hpp:14: /opt/gcc-latest/include/c++/13.0.0/bits/localefwd.h:156:48: internal compiler error: in install_entity, at cp/module.cc:7611 156 | template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> > | ^~~~~~~~~~~~~~~~~~~ 0x9aeda3 trees_in::install_entity(tree_node*) ../../gcc/cp/module.cc:7611 0x9c04e1 trees_in::decl_value() ../../gcc/cp/module.cc:8125 0x9c2597 trees_in::tree_node(bool) ../../gcc/cp/module.cc:9325 0x9cb4db module_state::read_cluster(unsigned int) ../../gcc/cp/module.cc:15025 0x9cb895 module_state::load_section(unsigned int, binding_slot*) ../../gcc/cp/module.cc:18397 0x9cba77 lazy_load_binding(unsigned int, tree_node*, tree_node*, binding_slot*) ../../gcc/cp/module.cc:19105 0x9e0c52 name_lookup::search_namespace_only(tree_node*) ../../gcc/cp/name-lookup.cc:920 0x9e2bdb name_lookup::search_unqualified(tree_node*, cp_binding_level*) ../../gcc/cp/name-lookup.cc:1142 0x9eb283 lookup_name(tree_node*, LOOK_where, LOOK_want) ../../gcc/cp/name-lookup.cc:7562 0x9f793d lookup_name(tree_node*, LOOK_want) ../../gcc/cp/name-lookup.h:402 0x9f793d cp_parser_lookup_name ../../gcc/cp/parser.cc:30746 0xa3103e cp_parser_template_name ../../gcc/cp/parser.cc:18619 0xa31770 cp_parser_template_id ../../gcc/cp/parser.cc:18227 0xa3220e cp_parser_class_name ../../gcc/cp/parser.cc:25825 0xa2b23f cp_parser_qualifying_entity ../../gcc/cp/parser.cc:7186 0xa2b23f cp_parser_nested_name_specifier_opt ../../gcc/cp/parser.cc:6866 0xa27adc cp_parser_simple_type_specifier ../../gcc/cp/parser.cc:19805 0xa152ad cp_parser_type_specifier ../../gcc/cp/parser.cc:19463 0xa17155 cp_parser_type_specifier_seq ../../gcc/cp/parser.cc:24431 0xa23239 cp_parser_type_id_1 ../../gcc/cp/parser.cc:24226 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. g++ (GCC) 13.0.0 20221016 (experimental) GCC 12.1/12.2 was still giving me these problems, I think 11 did too.
next prev parent reply other threads:[~2022-10-22 18:49 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-24 8:41 [Bug c++/99241] New: internal compiler error: " alexander.lelyakin at googlemail dot com 2021-02-28 18:51 ` [Bug c++/99241] [modules] ICE " alexander.lelyakin at googlemail dot com 2021-03-24 19:40 ` alexander.lelyakin at googlemail dot com 2021-03-31 13:35 ` mpolacek at gcc dot gnu.org 2021-04-08 21:29 ` alexander.lelyakin at googlemail dot com 2022-10-22 18:49 ` cgreeley at student dot bridgew.edu [this message] 2022-10-22 18:55 ` cgreeley at student dot bridgew.edu 2022-10-22 19:02 ` cgreeley at student dot bridgew.edu 2023-05-27 1:26 ` pinskia at gcc dot gnu.org 2024-03-16 18:27 ` ppalka 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-99241-4-8jmTsBydyZ@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: linkBe 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).