This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Oct 2017 18:32:21 +0000
- Subject: [Bug rtl-optimization/82692] [8 Regression] Ordered comparisons used for unordered built-ins
- Auto-submitted: auto-generated
- References: <bug-82692-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692
--- Comment #16 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Segher Boessenkool from comment #15)
> My point is that doing this only for FLOAT_MODE_P makes no real sense.
> If we can describe ordered comparisons with special CC modes, we should
> do tests with those modes only here.
I really can't see how we can use CC_MODES_COMPATIBLE check without harming
integer compares. Not being an expert in this part of the compiler, I'm out of
ideas what to do here - do you perhaps have a particular solution in mind?