public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/109187] New: [13 Regression] ICE: qsort checking failed: qsort comparator non-negative on sorted output: 1736258160 at -O2 Date: Sun, 19 Mar 2023 05:45:52 +0000 [thread overview] Message-ID: <bug-109187-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109187 Bug ID: 109187 Summary: [13 Regression] ICE: qsort checking failed: qsort comparator non-negative on sorted output: 1736258160 at -O2 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: aarch64-unknown-linux-gnu Created attachment 54703 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54703&action=edit reduced testcase Compiler output: $ aarch64-unknown-linux-gnu-gcc testcase.c -O2 testcase.c: In function 'foo': testcase.c:15:1: error: qsort comparator non-negative on sorted output: 1736258160 15 | } | ^ during RTL pass: sched1 testcase.c:15:1: internal compiler error: qsort checking failed 0xad2af3 qsort_chk_error /repo/gcc-trunk/gcc/vec.cc:204 0xad2c3c qsort_chk(void*, unsigned long, unsigned long, int (*)(void const*, void const*, void*), void*) /repo/gcc-trunk/gcc/vec.cc:246 0x20ccab5 gcc_qsort(void*, unsigned long, unsigned long, int (*)(void const*, void const*)) /repo/gcc-trunk/gcc/sort.cc:272 0x1ec3882 ready_sort_real /repo/gcc-trunk/gcc/haifa-sched.cc:3095 0x1ecc05c ready_sort /repo/gcc-trunk/gcc/haifa-sched.cc:3111 0x1ecc05c schedule_block(basic_block_def**, void*) /repo/gcc-trunk/gcc/haifa-sched.cc:6718 0x1125b1a schedule_region /repo/gcc-trunk/gcc/sched-rgn.cc:3200 0x1125b1a schedule_insns() /repo/gcc-trunk/gcc/sched-rgn.cc:3527 0x1125dec schedule_insns() /repo/gcc-trunk/gcc/sched-rgn.cc:3513 0x1125dec rest_of_handle_sched /repo/gcc-trunk/gcc/sched-rgn.cc:3731 0x1125dec execute /repo/gcc-trunk/gcc/sched-rgn.cc:3841 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.
next reply other threads:[~2023-03-19 5:45 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-19 5:45 zsojka at seznam dot cz [this message] 2023-03-19 23:12 ` [Bug rtl-optimization/109187] " pinskia at gcc dot gnu.org 2023-03-20 13:50 ` [Bug rtl-optimization/109187] [13 Regression] ICE: qsort checking failed: qsort comparator non-negative on sorted output: 1736258160 at -O2 since r13-5154-g733a1b777f16cd marxin at gcc dot gnu.org 2023-03-20 16:15 ` amonakov at gcc dot gnu.org 2023-03-22 13:15 ` amonakov at gcc dot gnu.org 2023-03-27 7:45 ` rguenth at gcc dot gnu.org 2023-03-28 13:44 ` cvs-commit at gcc dot gnu.org 2023-03-28 13:46 ` amonakov at gcc dot gnu.org
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-109187-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).