Revert DECL_USER_ALIGN part of r241959
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-modpow2.c
blob4541b1ccf028a36d15a80f85528e9809c3691121
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-original" } */
4 unsigned int
5 my_mod (unsigned int a, unsigned int b)
7 return a % (1 << b);
10 /* The above should be simplified to (unsigned int) ((1 << b) + -1) & a */
11 /* { dg-final { scan-tree-dump "& a;" "original" } } */