This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
- From: "hjl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2009 15:31:28 -0000
- Subject: [Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
- References: <bug-38902-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from hjl at gcc dot gnu dot org 2009-01-24 15:31 -------
Subject: Bug 38902
Author: hjl
Date: Sat Jan 24 15:31:13 2009
New Revision: 143646
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143646
Log:
gcc/
2009-01-24 H.J. Lu <hongjiu.lu@intel.com>
PR target/38902
Backport from mainline:
2008-12-23 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (expand_movmem_via_rep_mov): Set MEM_SIZE
correctly.
(expand_setmem_via_rep_stos): Add ORIG_VALUE argument. If
ORIG_VALUE is const0_rtx and COUNT is constant, set MEM_SIZE
on DESTMEM.
(ix86_expand_setmem): Adjust callers.
gcc/testsuite/
2009-01-24 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2009-01-20 Kees Cook <kees@ubuntu.com>
H.J. Lu <hongjiu.lu@intel.com>
PR target/38902
* gcc.dg/pr38902.c: New.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr38902.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/i386/i386.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902