[Bug tree-optimization/91656] [10 Regression] wrong code with -fgcse-after-reload

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Wed Sep 4 11:02:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91656

--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> ---
Created attachment 46811
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46811&action=edit
another testcase (needs -O3)

$ riscv64-unknown-linux-gnu-gcc -O3 testcase340.c -static && ./a.out
Aborted
$ riscv64-unknown-linux-gnu-gcc -O3 testcase340.c -static
-fno-gcse-after-reload && ./a.out
(finishes correctly)

r275318 is OK, r275369 is BAD


More information about the Gcc-bugs mailing list