This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29272] [4.2 Regression] memcpy optimization causes wrong-code
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2007 11:47:30 -0000
- Subject: [Bug middle-end/29272] [4.2 Regression] memcpy optimization causes wrong-code
- References: <bug-29272-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #18 from jakub at gcc dot gnu dot org 2007-06-26 11:47 -------
Subject: Bug 29272
Author: jakub
Date: Tue Jun 26 11:47:19 2007
New Revision: 126023
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126023
Log:
PR middle-end/29272
* builtins.c (fold_builtin_memset, fold_builtin_memory_op): Restrict
single entry optimization to variables and components thereof.
* gcc.c-torture/execute/20060930-2.c: New test.
Added:
branches/redhat/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/execute/20060930-2.c
Modified:
branches/redhat/gcc-4_1-branch/gcc/ChangeLog
branches/redhat/gcc-4_1-branch/gcc/builtins.c
branches/redhat/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29272