1 /* PR tree-optimization/58011 */
2 /* { dg-do compile } */
3 /* { dg-options "-O1" } */
4 int a, b;
5
f(unsigned p)6 void f(unsigned p)
7 {
8 unsigned *pp = &p;
9
10 if(!a)
11 p = 0;
12
13 for(b = 0; b < 1; b++)
14 if(3 * p + 5 * *pp)
15 a = 0;
16 }
17
18