This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]