diff options
author | Roger Sayle <roger@eyesopen.com> | 2006-03-28 17:06:19 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2006-03-28 17:06:19 +0000 |
commit | e8206491f015e63752c9db55d1b887a69d45b6af (patch) | |
tree | da262e848274dd56c1a6e2548ba2152e0008a4b6 /gcc/rtl.def | |
parent | 792617a52abfb67c52c6bec3a431fdc193773786 (diff) | |
download | gcc-e8206491f015e63752c9db55d1b887a69d45b6af.tar.gz |
fold-const.c (fold_unary): Fold (T1)(~(T2)X) as ~(T1)X...
* fold-const.c (fold_unary) <NOP_EXPR>: Fold (T1)(~(T2)X) as
~(T1)X, when T1 and T2 are integer types of the same precision
and (T2)X isn't an extension.
* gcc.dg/fold-convnotconv-1.c: New test case.
From-SVN: r112455
Diffstat (limited to 'gcc/rtl.def')
0 files changed, 0 insertions, 0 deletions