[Bug target/68841] [6 Regression] gcc.c-torture/execute/pr59358.c FAILs with custom compiler flags
ktkachov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 16 15:35:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68841
--- Comment #8 from ktkachov at gcc dot gnu.org ---
My proposed approach is to look into the else and then basic blocks and gather
whether they set or clobber the CC reg.
Then, emit them in such an order so that the use of the CC reg comes first, or
bail if that's not possible.
This fixes the testcase and has no impact on codegen for SPEC2006 from a quick
look I had.
I'll be testing the patch further
More information about the Gcc-bugs
mailing list