------- Comment #4 from rguenth at gcc dot gnu dot org 2010-06-21 11:18 ------- Subject: Bug 42834
Author: rguenth Date: Mon Jun 21 11:18:26 2010 New Revision: 161067 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161067 Log: 2010-06-21 Richard Guenther <rguent...@suse.de> PR middle-end/42834 * builtins.c (fold_builtin_memory_op): Use ref-all types for all memcpy foldings. * expr.c (store_expr): Handle MEM_REFs from STRING_CSTs. testsuite/ * c-c++-common/torture/pr42834.c: New testcase. * gcc.dg/tree-prof/stringop-1.c: Adjust. * gfortran.dg/array_memcpy_3.f90: Likewise. * gfortran.dg/array_memcpy_4.f90: Likewise. Added: branches/mem-ref2/gcc/testsuite/c-c++-common/torture/pr42834.c Modified: branches/mem-ref2/gcc/ChangeLog.mem-ref2 branches/mem-ref2/gcc/builtins.c branches/mem-ref2/gcc/expr.c branches/mem-ref2/gcc/testsuite/gcc.dg/tree-prof/stringop-1.c branches/mem-ref2/gcc/testsuite/gfortran.dg/array_memcpy_3.f90 branches/mem-ref2/gcc/testsuite/gfortran.dg/array_memcpy_4.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42834