aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-12-27 18:01:58 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-12-27 18:01:58 +0000
commit8f8883b1406a6951ab430e9701a1cb3761778f11 (patch)
treefb4bac1ef0737e6f6d1ab3b85d4b1dfde5023093 /gcc
parente98a8b5b621c4c9be4cc5efa38cf34ff14e27d67 (diff)
downloadgcc-8f8883b1406a6951ab430e9701a1cb3761778f11.zip
gcc-8f8883b1406a6951ab430e9701a1cb3761778f11.tar.gz
gcc-8f8883b1406a6951ab430e9701a1cb3761778f11.tar.bz2
* g++.dg/opt/temp1.C (memcpy): Return a value.
From-SVN: r92646
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog2
-rw-r--r--gcc/testsuite/g++.dg/opt/temp1.C1
2 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7a23ee9..ff08406 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -9,6 +9,8 @@
2004-12-27 Mark Mitchell <mark@codesourcery.com>
+ * g++.dg/opt/temp1.C (memcpy): Return a value.
+
PR c++/19148
* g++.dg/expr/cond7.C: New test.
diff --git a/gcc/testsuite/g++.dg/opt/temp1.C b/gcc/testsuite/g++.dg/opt/temp1.C
index 05dd269..b822dc4 100644
--- a/gcc/testsuite/g++.dg/opt/temp1.C
+++ b/gcc/testsuite/g++.dg/opt/temp1.C
@@ -20,6 +20,7 @@ void *memcpy (void *dest, const void *src, __SIZE_TYPE__ n)
while (n--)
d[n] = s[n];
++i;
+ return dest;
}
struct T {