* g++.dg/pr55604.C: New test.

From-SVN: r194231
This commit is contained in:
Steven Bosscher 2012-12-05 23:57:17 +00:00
parent 85f9ce675d
commit 2412b9b097
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-12-05 Steven Bosscher <steven@gcc.gnu.org>
* g++.dg/pr55604.C: New test.
2012-12-05 James Greenhalgh <james.greenhalgh@arm.com>
* lib/target-supports.exp

View File

@ -0,0 +1,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" } } */