public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99760] New: [modules] ICE qsort checking failed
@ 2021-03-25  5:06 alexander.lelyakin at googlemail dot com
  0 siblings, 0 replies; only message in thread
From: alexander.lelyakin at googlemail dot com @ 2021-03-25  5:06 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-25  5:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25  5:06 [Bug c++/99760] New: [modules] ICE qsort checking failed alexander.lelyakin at googlemail dot com

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