https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282
--- Comment #10 from mcccs at gmx dot com --- Bad commit: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=ff6686d2e5f797d6c6a36ad14a7084bc1dc350e4 Minimal testcase: int a[]; short b, c; long d; __attribute__((noipa)) long(e)() {} static int f(int *g) { char h = b < *g | c <= e(d); } int main() { f(a); } -O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink Reproducible on arm as well - different "optimized" pass output Known to work 9.5.0 as well