diff options
author | Richard Biener <rguenther@suse.de> | 2023-09-27 12:48:50 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-09-27 13:45:20 +0200 |
commit | f7d7e26f10e8e329c3521ae7475ed2dfa38ba677 (patch) | |
tree | cee5158efbdbb37229c13ab13972d8c23dafafd2 /libcpp/charset.cc | |
parent | d326bb6d7588425d013791299272f913fb23e56d (diff) | |
download | gcc-f7d7e26f10e8e329c3521ae7475ed2dfa38ba677.zip gcc-f7d7e26f10e8e329c3521ae7475ed2dfa38ba677.tar.gz gcc-f7d7e26f10e8e329c3521ae7475ed2dfa38ba677.tar.bz2 |
Simplify abs (copysign (x, y))
The following adds simplification of abs (copysign (x, y)) to abs (x).
* match.pd (abs (copysign (x, y)) -> abs (x)): New pattern.
* gcc.dg/fold-abs-6.c: New testcase.
Diffstat (limited to 'libcpp/charset.cc')
0 files changed, 0 insertions, 0 deletions