Skip to content
Snippets Groups Projects
Commit 8e2c037d authored by Richard Biener's avatar Richard Biener Committed by Richard Biener
Browse files

gimple-fold.c (arith_code_with_undefined_signed_overflow): Add ABS_EXPR.

2019-05-22  Richard Biener  <rguenther@suse.de>

	* gimple-fold.c (arith_code_with_undefined_signed_overflow):
	Add ABS_EXPR.
	(rewrite_to_defined_overflow): Handle rewriting ABS_EXPR
	as ABSU_EXPR.

	* gcc.dg/tree-ssa/ssa-lim-13.c: New testcase.

From-SVN: r271501
parent e1542427
No related branches found
No related tags found
Loading
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