modula2: M2MetaError.{def,mod} and P2SymBuild.mod further cleanup
[official-gcc.git] / gcc / testsuite / gcc.dg / pr110915-3.c
blob3ac70f55c4aa6e4d8c9d0e07dfe423b9cb9c944f
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-ifcombine -Wno-psabi" } */
4 #include <limits.h>
6 #define vector __attribute__((vector_size(sizeof(unsigned)*2)))
8 vector signed and1(vector unsigned x, vector unsigned y)
10 /* (x > y) & (x == 0) --> false */
11 return (x > y) & (x == 0);
14 vector signed and2(vector unsigned x, vector unsigned y)
16 /* (x < y) & (x == UINT_MAX) --> false */
17 return (x < y) & (x == UINT_MAX);
20 vector signed and3(vector signed x, vector signed y)
22 /* (x > y) & (x == INT_MIN) --> false */
23 return (x > y) & (x == INT_MIN);
26 vector signed and4(vector signed x, vector signed y)
28 /* (x < y) & (x == INT_MAX) --> false */
29 return (x < y) & (x == INT_MAX);
32 /* { dg-final { scan-tree-dump-not " == " "ifcombine" } } */
33 /* { dg-final { scan-tree-dump-not " > " "ifcombine" } } */
34 /* { dg-final { scan-tree-dump-not " < " "ifcombine" } } */