This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/82395] [8 Regression] qsort comparator non-negative on sorted output: 1 in color_allocnos
- From: "sje at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Oct 2017 16:04:31 +0000
- Subject: [Bug rtl-optimization/82395] [8 Regression] qsort comparator non-negative on sorted output: 1 in color_allocnos
- Auto-submitted: auto-generated
- References: <bug-82395-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82395
Steve Ellcey <sje at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at gcc dot gnu.org
--- Comment #2 from Steve Ellcey <sje at gcc dot gnu.org> ---
I tried the patch on an aarch64 bootstrap and it still fails, though the trace
looks different.
/home/sellcey/gcc-stdc/obj/gcc/aarch64-unknown-linux-gnu/libstdc++-v3/include/bits/deque.tcc:626:7:
error: qsort comparator non-negative on sorted output: 8
}
^
during RTL pass: sched2
/home/sellcey/gcc-stdc/obj/gcc/aarch64-unknown-linux-gnu/libstdc++-v3/include/bits/deque.tcc:626:7:
internal compiler error: qsort checking failed
0x1d1c5c7 qsort_chk_error
../../../src/gcc/gcc/vec.c:222
0x1d1c9e7 qsort_chk(void*, unsigned long, unsigned long, int (*)(void const*,
void const*))
../../../src/gcc/gcc/vec.c:274
0x1be2ebf ready_sort_real
../../../src/gcc/gcc/haifa-sched.c:3087
0x1be2f53 ready_sort
../../../src/gcc/gcc/haifa-sched.c:3103
0x1bede13 schedule_block(basic_block_def**, void*)
../../../src/gcc/gcc/haifa-sched.c:6749
0x1285b9f schedule_region
../../../src/gcc/gcc/sched-rgn.c:3174
0x1286da3 schedule_insns()
../../../src/gcc/gcc/sched-rgn.c:3513
0x1287acf rest_of_handle_sched2
../../../src/gcc/gcc/sched-rgn.c:3737
0x1287d2f execute
../../../src/gcc/gcc/sched-rgn.c:3873
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.