public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "alexander.lelyakin at googlemail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99760] New: [modules] ICE qsort checking failed Date: Thu, 25 Mar 2021 05:06:47 +0000 [thread overview] Message-ID: <bug-99760-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99760 Bug ID: 99760 Summary: [modules] ICE qsort checking failed Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alexander.lelyakin at googlemail dot com Target Milestone: --- /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cstdint /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cctype /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header optional /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header syncstream /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header unordered_set /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header limits /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cinttypes /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header fstream /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header future /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header locale /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header latch /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header clocale /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header coroutine /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header codecvt /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header csetjmp /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header exception /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cassert /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header complex /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header algorithm /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cstdarg /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header istream /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header memory /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header ciso646 /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header execution /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header ostream /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header queue /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header mutex /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header valarray /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header random /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cfloat /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header ccomplex /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header concepts /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header iomanip /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header csignal /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header stack /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header ios /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header regex ---- In module imported at /usr/local/include/c++/11.0.1/sstream:39:1, included from /usr/local/include/c++/11.0.1/regex:46: /usr/local/include/c++/11.0.1/ostream: note: unable to represent further imported source locations /usr/local/include/c++/11.0.1/regex: error: qsort comparator non-negative on sorted output: 1 /usr/local/include/c++/11.0.1/regex: internal compiler error: qsort checking failed 0x92825b qsort_chk_error ../../gcc/gcc/vec.c:214 0x928367 qsort_chk(void*, unsigned long, unsigned long, int (*)(void const*, void const*, void*), void*) ../../gcc/gcc/vec.c:256 0x1ce4c25 gcc_qsort(void*, unsigned long, unsigned long, int (*)(void const*, void const*)) ../../gcc/gcc/sort.cc:270 0xa66c1e vec<module_state*, va_heap, vl_embed>::qsort(int (*)(void const*, void const*)) ../../gcc/gcc/vec.h:1148 0xa66c1e vec<module_state*, va_heap, vl_ptr>::qsort(int (*)(void const*, void const*)) ../../gcc/gcc/vec.h:2041 0xa66c1e module_state::write(elf_out*, cpp_reader*) ../../gcc/gcc/cp/module.cc:17661 0xa67e3f finish_module_processing(cpp_reader*) ../../gcc/gcc/cp/module.cc:19883 0x9fb24b c_parse_final_cleanups() ../../gcc/gcc/cp/decl2.c:5175 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. ---- g++ (GCC) 11.0.1 20210324 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
reply other threads:[~2021-03-25 5:06 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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-99760-4@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).