https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122296

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
For:
```
typedef unsigned type1 __attribute__((vector_size(sizeof(unsigned))));

type1 f(type1 a, type1 b)
{
  type1 c = a == b;
  type1 d = (a|b) != 0;
  return c | d;
}
```
We get:

  _3 = VEC_COND_EXPR <{ 1 }, { 4294967295 }, { 0 }>;

But that is "wrong" as it should have just been { 4294967295 }. that is what
the fix for constant_boolean_node should happen.

Reply via email to