2011-11-03 Richard Guenther <rguenther@suse.de>
PR middle-end/50079
* g++.dg/init/copy7.C: Remove testcase.
From-SVN: r180829
+2011-11-03 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/50079
+ * g++.dg/init/copy7.C: Remove testcase.
+
2011-11-03 Martin Jambor <mjambor@suse.cz>
* g++.dg/ipa/devirt-c-1.C: Add dump scans.
+++ /dev/null
-// PR c++/39480
-// It isn't always safe to call memcpy with identical arguments.
-// { dg-do run }
-
-extern "C" void abort();
-extern "C" void *
-memcpy(void *dest, void *src, __SIZE_TYPE__ n)
-{
- if (dest == src)
- abort();
- else
- {
- __SIZE_TYPE__ i;
- for (i = 0; i < n; i++)
- ((char *)dest)[i] = ((const char*)src)[i];
- }
-}
-
-struct A
-{
- double d[10];
-};
-
-struct B: public A
-{
- char bc;
-};
-
-B b;
-
-void f(B *a1, B* a2)
-{
- *a1 = *a2;
-}
-
-int main()
-{
- f(&b,&b);
-}