diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7a23ee9368e991f6873ff2f67f1575813e224e96..ff084064e7fa40f9f7bd5407f2c600b3d0a4f13d 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 05dd2697171ae7e746c74f6e394ce9a03ae38488..b822dc464fe19ebdbbd5148b4fe6ce421919b694 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 {