Commit 54c42edf by Tom de Vries Committed by Tom de Vries

memcpy-4.c: New test.

2011-10-13  Tom de Vries  <tom@codesourcery.com>

	* gcc.dg/memcpy-4.c: New test.

From-SVN: r179897
parent ba30e50d
2011-10-13 Tom de Vries <tom@codesourcery.com>
* gcc.dg/memcpy-4.c: New test.
2011-10-13 Richard Guenther <rguenther@suse.de> 2011-10-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/50698 PR tree-optimization/50698
......
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-rtl-expand" } */
void
f1 (char *p)
{
__builtin_memcpy (p, "123", 3);
}
/* { dg-final { scan-rtl-dump-times "mem/s/u" 3 "expand" { target mips*-*-* } } } */
/* { dg-final { cleanup-rtl-dump "expand" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment