aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/volatile1.c
blob: 61a3979b704686313f09392ee1f1053cba74569e (plain)
1
2
3
4
5
6
7
8
9
/* PR c/12553: we were erroneously setting TREE_SIDE_EFFECTS on &y, which
   confused tree-ssa.  */

void f()
{
  int x;
  volatile int y;
  &x == &y;
}