Skip to content
Snippets Groups Projects
Commit 080ea642 authored by Roger Sayle's avatar Roger Sayle Committed by Roger Sayle
Browse files

fold-const.c (negate_expr_p): New function to determine whether an expression...

fold-const.c (negate_expr_p): New function to determine whether an expression can be negated cheaply.


	* fold-const.c (negate_expr_p): New function to determine whether
	an expression can be negated cheaply.
	(fold) [MINUS_EXPR]: Use it to determine whether to transform
	-A - B into -B - A for floating point types.

From-SVN: r63059
parent e360ab39
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment