aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/pr55604.C
blob: 135ae4d5e557ab0d305d91395eb5df1238dc251c (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O -fdump-rtl-reload" } */

main ()
{
  char s[10];
  const int t = (__builtin_memcpy (s, "Hello", 6), 5);
  __builtin_printf ("%d %s\n", t, s);
}

/* { dg-final { cleanup-rtl-dump "reload" } } */