1 #define MAX (sizeof(int) * __CHAR_BIT__)
13 static int rmax(int a
)
18 static int rneg(int a
)
24 * check-name: bad-shift
25 * check-command: test-linearize -Wno-decl $file
38 shl.32 %r3 <- $1, $0xffffffff
52 asr.32 %r7 <- $1, $0xffffffff
59 expand/bad-shift.c:5:21: warning: shift too big (32) for type int
60 expand/bad-shift.c:10:21: warning: shift count is negative (-1)
61 expand/bad-shift.c:15:21: warning: shift too big (32) for type int
62 expand/bad-shift.c:20:21: warning: shift count is negative (-1)