This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/69570] [6 Regression] if-conversion bug on i?86
- From: "bernds at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Feb 2016 16:35:25 +0000
- Subject: [Bug rtl-optimization/69570] [6 Regression] if-conversion bug on i?86
- Auto-submitted: auto-generated
- References: <bug-69570-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69570
--- Comment #12 from Bernd Schmidt <bernds at gcc dot gnu.org> ---
Or lose the equality tests on the max values, instead use something like
if (b > r && b >= g)
I suppose that could still have problems if b and g are equal and one of them
is spilled. Someone who knows that code would have to say whether that's a
problem or not.