2011-10-13 Tom de Vries <tom@codesourcery.com>
* gcc.dg/memcpy-4.c: New test.
From-SVN: r179897
+2011-10-13 Tom de Vries <tom@codesourcery.com>
+
+ * gcc.dg/memcpy-4.c: New test.
+
2011-10-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/50698
--- /dev/null
+/* { 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" } } */