summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr33653.c
blob: 91274c27e66be12ed4103916bb7fdc61df567b41 (plain)
1
2
3
4
5
6
7
8
9
10
/* { 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" } } */
/* { dg-final { cleanup-rtl-dump "shorten" } } */