mips.h (ISA_HAS_DSP, [...]): New macros.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr14796-2.c
blobc0a91dc955bfc9483fb959fc84e9b71dda3aff77
1 /* { dg-do compile } */
2 /* { dg-require-effective-target int32plus } */
3 /* { dg-options "-fdump-tree-gimple" } */
5 int f (int a) {
6 return (a << 31) << 6;
9 unsigned int g (unsigned int a) {
10 return (a >> 7) >> 25;
13 int h (int b) {
14 return (b >> 30) >> 30;
17 long long j (long long c) {
18 return (c >> 35) << 35;
20 /* { dg-final { scan-tree-dump-times "= 0" 2 "gimple" } } */
21 /* { dg-final { scan-tree-dump "b >> 31" "gimple" } } */
22 /* { dg-final { scan-tree-dump "c & -(34359738368|0x800000000)" "gimple" } } */
23 /* { dg-final { cleanup-tree-dump "gimple" } } */