[Bug rtl-optimization/109187] [13 Regression] ICE: qsort checking failed: qsort comparator non-negative on sorted output: 1736258160 at -O2 since r13-5154-g733a1b777f16cd
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 22 13:15:06 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109187
--- Comment #3 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
The reduced case is offsetting stack variables in a manner that seems too
invalid for my taste, so I plan to send a patch with a following testcase
instead (needs -O2 --param sched-autopref-queue-depth=1, ICEs on amd64):
void f(int *a)
{
for (;;)
asm("" :: "r"(a[-0x10000000]), "r"(a[0x10000000]), "r"(a[0]) : "memory");
}
More information about the Gcc-bugs
mailing list