On Wed, 12 Jun 2013, Marc Glisse wrote:
On Wed, 12 Jun 2013, Richard Biener wrote:
I suppose it's explicitely not allowing complex integer constants?
Hmm... Thanks, I keep forgetting complex :-(
Do we want A+~A -> -1-i for integer complex types? Is using BIT_NOT_EXPR
on them even legal? Currently we restrict the transform to INTEGRAL_TYPE_P
(TREE_TYPE (rhs1)), but it looks like any type on which BIT_NOT_EXPR is
legal should be ok (with an all_ones constant, not the current minus_one
constant).
--
Marc Glisse