https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90282
Bug ID: 90282 Summary: internal compiler error: qsort checking failed in snapshot-20190429 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jason.duerstock at gmail dot com Target Milestone: --- /home/jason/gcc-snapshot-20190429/build/./prev-gcc/xg++ -B/home/jason/gcc-snapshot-20190429/build/./prev-gcc/ -B/usr/lib/gcc-snapshot/ia64-linux-gnu/bin/ -nostdinc++ -B/home/jason/gcc-snapshot-20190429/build/prev-ia64-linux-gnu/libstdc++-v3/src/.libs -B/home/jason/gcc-snapshot-20190429/build/prev-ia64-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/jason/gcc-snapshot-20190429/build/prev-ia64-linux-gnu/libstdc++-v3/include/ia64-linux-gnu -I/home/jason/gcc-snapshot-20190429/build/prev-ia64-linux-gnu/libstdc++-v3/include -I/home/jason/gcc-snapshot-20190429/src/libstdc++-v3/libsupc++ -L/home/jason/gcc-snapshot-20190429/build/prev-ia64-linux-gnu/libstdc++-v3/src/.libs -L/home/jason/gcc-snapshot-20190429/build/prev-ia64-linux-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE -c -DUSE_LIBUNWIND_EXCEPTIONS -g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cselib.o -MT cselib.o -MMD -MP -MF ./.deps/cselib.TPo ../../src/gcc/cselib.c ../../src/gcc/cselib.c: In function 'int rtx_equal_for_cselib_1(rtx, rtx, machine_mode, int)': ../../src/gcc/cselib.c:1044:1: error: qsort comparator non-negative on sorted output: 1 1044 | } | ^ during RTL pass: mach ../../src/gcc/cselib.c:1044:1: internal compiler error: qsort checking failed cc1plus(9051): unaligned access to 0x2000000002b302d4, ip=0x4000000004240841 cc1plus(9051): unaligned access to 0x2000000002b302d4, ip=0x4000000004240910 cc1plus(9051): unaligned access to 0x2000000002b302d4, ip=0x40000000042409b0 cc1plus(9051): unaligned access to 0x2000000002b3e6be, ip=0x4000000004240751 cc1plus(9051): unaligned access to 0x2000000002b3e6c6, ip=0x4000000004240841 0x400000000409cc2f qsort_chk_error ../../src/gcc/vec.c:211 0x400000000409db2f qsort_chk(void*, unsigned long, unsigned long, int (*)(void const*, void const*)) ../../src/gcc/vec.c:254 0x400000000415b3ef gcc_qsort(void*, unsigned long, unsigned long, int (*)(void const*, void const*)) ../../src/gcc/sort.cc:238 0x4000000003cc658f ready_sort_real ../../src/gcc/haifa-sched.c:3097 0x4000000003cc66df ready_sort ../../src/gcc/haifa-sched.c:3113 0x4000000003ce2ecf schedule_block(basic_block_def**, void*) ../../src/gcc/haifa-sched.c:6700 0x4000000003efcfaf schedule_ebb(rtx_insn*, rtx_insn*, bool) ../../src/gcc/sched-ebb.c:537 0x4000000003efdd1f schedule_ebbs() ../../src/gcc/sched-ebb.c:656 0x400000000317624f ia64_reorg ../../src/gcc/config/ia64/ia64.c:9852 0x4000000002201f5f execute ../../src/gcc/reorg.c:3992 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.