https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82396
Andreas Schwab <sch...@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |build Target|arm-linux-gnueabi-gcc |arm-*-*, aarch64-*-* Host|x86_64-pc-linux-gnu | Target Milestone|--- |8.0 --- Comment #1 from Andreas Schwab <sch...@linux-m68k.org> --- This also fails on aarch64, during boostrap: In file included from /opt/gcc/gcc-20171002/Build/aarch64-suse-linux/libstdc++-v3/include/deque:66:0, from /opt/gcc/gcc-20171002/Build/aarch64-suse-linux/libstdc++-v3/include/stack:60, from ../../../../../libstdc++-v3/src/filesystem/ops.cc:32: /opt/gcc/gcc-20171002/Build/aarch64-suse-linux/libstdc++-v3/include/bits/deque.tcc: In member function 'void std::deque<_Tp, _Alloc>::_M_range_insert_aux(std::deque<_Tp, _Alloc>::iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = std::experimental::filesystem::v1::__cxx11::path::iterator; _Tp = std::experimental::filesystem::v1::__cxx11::path; _Alloc = std::allocator<std::experimental::filesystem::v1::__cxx11::path>]': /opt/gcc/gcc-20171002/Build/aarch64-suse-linux/libstdc++-v3/include/bits/deque.tcc:626:7: error: qsort comparator non-negative on sorted output: 8 } ^ during RTL pass: sched2 /opt/gcc/gcc-20171002/Build/aarch64-suse-linux/libstdc++-v3/include/bits/deque.tcc:626:7: internal compiler error: qsort checking failed 0x5c2cf3 qsort_chk_error ../../gcc/vec.c:222 0x15242f3 qsort_chk(void*, unsigned long, unsigned long, int (*)(void const*, void const*)) ../../gcc/vec.c:274 0x1433717 ready_sort_real ../../gcc/haifa-sched.c:3087 0x143af53 schedule_block(basic_block_def**, void*) ../../gcc/haifa-sched.c:6749 0xd84a5b schedule_region ../../gcc/sched-rgn.c:3174 0xd84a5b schedule_insns() ../../gcc/sched-rgn.c:3513 0xd84f03 schedule_insns() ../../gcc/sched-rgn.c:3498 0xd84f03 rest_of_handle_sched2 ../../gcc/sched-rgn.c:3737 0xd84f03 execute ../../gcc/sched-rgn.c:3873