This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ORDERED_EXPR in invert_tree_comparison


On Thu, 2 Aug 2012, Nathan Froyd wrote:

On Thu, Aug 02, 2012 at 02:48:08PM +0200, Marc Glisse wrote:
I am redoing the bootstrap+regtest, then I'll commit if I don't hear
protests about the testcase.

gcc/ChangeLog
2012-06-15  Marc Glisse  <marc.glisse@inria.fr>

	PR tree-optimization/53805
	* fold-const.c (invert_tree_comparison): Do invert ORDERED_EXPR and
	UNORDERED_EXPR for floating point.

Minor protest about the ChangeLog: I think you mean "Do _not_ invert..."

No, I do mean do invert. The point of the patch is that even for floating point and even with trapping-math, it is still safe to invert them.


Maybe I can reformulate as: "Invert ORDERED_EXPR and UNORDERED_EXPR even for trapping floating point." ?

--
Marc Glisse


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]