public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "johelegp at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107033] [13 Regression] [modules] ICE using span as a range Date: Sun, 25 Sep 2022 17:12:39 +0000 [thread overview] Message-ID: <bug-107033-4-j2NZMWdFpa@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-107033-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107033 --- Comment #4 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> --- This is actually Bug 106826. Simplest: https://godbolt.org/z/oKT4x9r4G. ```C++ template<class> constexpr bool is = false; template<class T> constexpr bool is<T&> = true; ``` ```C++ export module mod; import "std.hpp"; static_assert(is<int&>); ``` ``` mod.cpp:1:8: internal compiler error: Segmentation fault 1 | export module mod; | ^~~~~~ 0x234bd6e internal_error(char const*, ...) ???:0 0xc84cfe walk_specializations(bool, void (*)(bool, spec_entry*, void*), void*) ???:0 0xbead4c depset::hash::add_specializations(bool) ???:0 0xbfb5a8 module_state::write_begin(elf_out*, cpp_reader*, module_state_config&, unsigned int&) ???:0 0xbfcd45 finish_module_processing(cpp_reader*) ???:0 0xb89d2e c_parse_final_cleanups() ???:0 0xdb0cc8 c_common_parse_file() ???:0 ```
next prev parent reply other threads:[~2022-09-25 17:12 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-09-25 14:08 [Bug c++/107033] New: [13 Regression] [modules] ICE converting to span johelegp at gmail dot com 2022-09-25 16:08 ` [Bug c++/107033] " johelegp at gmail dot com 2022-09-25 16:09 ` johelegp at gmail dot com 2022-09-25 16:32 ` [Bug c++/107033] [13 Regression] [modules] ICE using span as a range johelegp at gmail dot com 2022-09-25 17:12 ` johelegp at gmail dot com [this message] 2022-09-26 9:27 ` [Bug c++/107033] [13 Regression] [modules] Variable template of type trait via importable header gives wrong result rguenth at gcc dot gnu.org 2022-09-26 13:07 ` ppalka at gcc dot gnu.org 2022-09-26 15:31 ` cvs-commit at gcc dot gnu.org 2022-09-29 21:07 ` 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-107033-4-j2NZMWdFpa@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).