summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr33653.c
blob: 966efecd89b50b76ec06db174e454e5943e27d1e (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-rtl-shorten" } */

void f (volatile char *p)
{
  char c = p[0];
}

/* { dg-final { scan-rtl-dump "mem/v" "shorten" } } */