diff options
author | Richard Guenther <rguenther@suse.de> | 2006-12-14 13:12:11 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-12-14 13:12:11 +0000 |
commit | 9f5396713d9e188bad160c5816f3bfd21b6f32ca (patch) | |
tree | 7529cb235a0fc6106fa9a66695f0d7ae23d8c60f /gcc/builtins.c | |
parent | 85aef79f75e6be8e8a8d7a1111f6110b98a609ca (diff) | |
download | gcc-9f5396713d9e188bad160c5816f3bfd21b6f32ca.zip gcc-9f5396713d9e188bad160c5816f3bfd21b6f32ca.tar.gz gcc-9f5396713d9e188bad160c5816f3bfd21b6f32ca.tar.bz2 |
re PR middle-end/30172 (Operations with partly constant complex values not folded)
2006-12-14 Richard Guenther <rguenther@suse.de>
PR middle-end/30172
* fold-const.c (fold_binary): Fold __complex__ ( x, 0 )
+ __complex__ ( 0, y ) to __complex__ ( x, y ).
Fold __complex__ (x, y) * +-I to __complex__ (-+y, +-x).
* gcc.dg/pr30172-1.c: New testcase.
From-SVN: r119859
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions