public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/38902]  New: gcc.dg/pr38616.c  fails
@ 2009-01-18  0:19 hjl dot tools at gmail dot com
  2009-01-18  1:41 ` [Bug target/38902] __builtin_strcpy doesn't work with -fstack-protector hjl dot tools at gmail dot com
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-18  0:19 UTC (permalink / raw)
  To: gcc-bugs

[hjl@gnu-17 gcc]$ /export/gnu/import/svn/gcc-test/bld/gcc/xgcc
-B/export/gnu/import/svn/gcc-test/bld/gcc/
/export/gnu/import/svn/gcc-test/src-4.3/gcc/testsuite/gcc.dg/pr38616.c   -S
-fstack-protector -fno-show-column  -lm      -O2 -Wall -w
[hjl@gnu-17 gcc]$ ./a.out
[hjl@gnu-17 gcc]$ echo $?
255
[hjl@gnu-17 gcc]$ /export/gnu/import/svn/gcc-test/bld/gcc/xgcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../src-4.3/configure --enable-clocale=gnu --with-system-zlib
--enable-shared --with-demangler-in-ld
Thread model: posix
gcc version 4.3.3 20090117 (prerelease) [gcc-4_3-branch revision 143471] (GCC)
[hjl@gnu-17 gcc]$


-- 
           Summary: gcc.dg/pr38616.c  fails
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
@ 2009-01-18  1:41 ` hjl dot tools at gmail dot com
  2009-01-18  1:43 ` hjl dot tools at gmail dot com
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-18  1:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2009-01-18 01:41 -------
bash-3.2$ cat /tmp/x.c
extern void abort ();

int foo (const char *, const char *);

int main (void)
{
  char buffer[1024]="";
  __builtin_strcpy (buffer, "1234567890abcdefghijklmno");
  if (foo (buffer, "1234567890abcdefghijklmno"))
    abort ();
}
bash-3.2$ cat /tmp/y.c
int
foo (const char *x , const char * y)
{
  return __builtin_strcmp (x, y);
}
bash-3.2$ ./xgcc -B./ -O2 -m32 -c /tmp/y.c
bash-3.2$ ./xgcc -B./ -O2 -m32 -O2 -fstack-protector /tmp/x.c y.o
bash-3.2$ ./a.out 
Aborted
bash-3.2$ 


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ubizjak at gmail dot com
            Summary|gcc.dg/pr38616.c  fails     |__builtin_strcpy doesn't
                   |                            |work with -fstack-protector


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
  2009-01-18  1:41 ` [Bug target/38902] __builtin_strcpy doesn't work with -fstack-protector hjl dot tools at gmail dot com
@ 2009-01-18  1:43 ` hjl dot tools at gmail dot com
  2009-01-18 10:02 ` doko at ubuntu dot com
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-18  1:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2009-01-18 01:43 -------
bash-3.2$ cat /tmp/x.c
extern void abort ();

int foo (const char *, const char *);

int main (void)
{
  char buffer[1024]="";
  __builtin_strcpy (buffer, "1234567890abcdefghijklmno");
  if (foo (buffer, "1234567890abcdefghijklmno"))
    abort ();
}
bash-3.2$ cat /tmp/y.c
int
foo (const char *x , const char * y)
{
  return __builtin_strcmp (x, y);
}
bash-3.2$ ./xgcc -B./ -O2 -m32 -c /tmp/y.c
bash-3.2$ ./xgcc -B./ -O2 -m32 -O2 -fstack-protector /tmp/x.c -c
bash-3.2$ ./xgcc -B./ -m32 x.o  y.o
bash-3.2$ ./a.out 
Aborted
bash-3.2$ 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
  2009-01-18  1:41 ` [Bug target/38902] __builtin_strcpy doesn't work with -fstack-protector hjl dot tools at gmail dot com
  2009-01-18  1:43 ` hjl dot tools at gmail dot com
@ 2009-01-18 10:02 ` doko at ubuntu dot com
  2009-01-18 17:05 ` hjl dot tools at gmail dot com
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: doko at ubuntu dot com @ 2009-01-18 10:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from doko at ubuntu dot com  2009-01-18 10:01 -------
yes, I do see this failure again as well.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2009-01-18 10:02 ` doko at ubuntu dot com
@ 2009-01-18 17:05 ` hjl dot tools at gmail dot com
  2009-01-18 18:12 ` kees at outflux dot net
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-18 17:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hjl dot tools at gmail dot com  2009-01-18 17:05 -------
bash-3.2$ cat /tmp/x.c
extern void abort ();
int foo (const char *, const char *);
void bar (void)
{
  char buffer[1024]="";
  __builtin_strcpy (buffer, "1234567890abcdefghijklmno");
  if (foo (buffer, "1234567890abcdefghijklmno"))
    abort ();
}
bash-3.2$ cat /tmp/y.c
int
foo (const char *x , const char * y)
{
  return __builtin_strcmp (x, y);
}
extern void bar (void);
int
main ()
{
  bar ();
  return 0;
}
bash-3.2$ ./xgcc -B./ -O2 -m32 -O2 -fstack-protector /tmp/x.c -c
bash-3.2$ ./xgcc -B./ -m32 /tmp/y.c -c
bash-3.2$ ./xgcc -B./ -m32 x.o y.o
bash-3.2$ ./a.out 
Aborted
bash-3.2$ ./xgcc -B./ -O2 -m32 -O2 -fstack-protector /tmp/x.c -S
bash-3.2$ cat x.s
        .file   "x.c"
        .section        .rodata.str1.1,"aMS",@progbits,1
.LC0:
        .string "1234567890abcdefghijklmno"
        .text
        .p2align 4,,15
.globl bar
        .type   bar, @function
bar:
        pushl   %ebp
        movl    $255, %ecx
        movl    %esp, %ebp
        pushl   %edi
        subl    $1060, %esp
        movl    %gs:20, %eax
        movl    %eax, -8(%ebp)
        xorl    %eax, %eax
        leal    -1028(%ebp), %edi
        movl    $875770417, -1032(%ebp)
        movl    $1650536505, -1024(%ebp)
        movl    $1717920867, -1020(%ebp)
        movl    $1785292903, -1016(%ebp)
        movl    $1852664939, -1012(%ebp)
        rep stosl <<<<<<< Wrong place
        leal    -1032(%ebp), %eax
        movl    $943142453, -1028(%ebp)
        movw    $111, -1008(%ebp)
        movl    $.LC0, 4(%esp)
        movl    %eax, (%esp)
        call    foo
        testl   %eax, %eax
        jne     .L7
        movl    -8(%ebp), %eax
        xorl    %gs:20, %eax
        jne     .L8
        addl    $1060, %esp
        popl    %edi
        popl    %ebp
        .p2align 4,,3
        .p2align 3
        ret
.L7:
        .p2align 4,,6
        .p2align 3
        call    abort
.L8:
        .p2align 4,,5
        .p2align 3
        call    __stack_chk_fail
        .size   bar, .-bar


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2009-01-18 17:05 ` hjl dot tools at gmail dot com
@ 2009-01-18 18:12 ` kees at outflux dot net
  2009-01-18 18:26 ` [Bug target/38902] [4.3 Regression] " hjl dot tools at gmail dot com
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: kees at outflux dot net @ 2009-01-18 18:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from kees at outflux dot net  2009-01-18 18:12 -------
Created an attachment (id=17135)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17135&action=view)
multiple tests for the regression

This contains a series of tests, none of which should fail.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (4 preceding siblings ...)
  2009-01-18 18:12 ` kees at outflux dot net
@ 2009-01-18 18:26 ` hjl dot tools at gmail dot com
  2009-01-18 18:27 ` hjl dot tools at gmail dot com
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-18 18:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hjl dot tools at gmail dot com  2009-01-18 18:26 -------
Revision 142891

http://gcc.gnu.org/ml/gcc-cvs/2008-12/msg00591.html

fixes this.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at redhat dot com
   Target Milestone|---                         |4.3.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (5 preceding siblings ...)
  2009-01-18 18:26 ` [Bug target/38902] [4.3 Regression] " hjl dot tools at gmail dot com
@ 2009-01-18 18:27 ` hjl dot tools at gmail dot com
  2009-01-18 22:02 ` hjl dot tools at gmail dot com
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-18 18:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from hjl dot tools at gmail dot com  2009-01-18 18:27 -------
(In reply to comment #5)
> Created an attachment (id=17135)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17135&action=view) [edit]
> multiple tests for the regression
> 
> This contains a series of tests, none of which should fail.
> 

Some of those tests failed on both Linux/ia32 and Linux/x86-64.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|i686-pc-linux-gnu           |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (6 preceding siblings ...)
  2009-01-18 18:27 ` hjl dot tools at gmail dot com
@ 2009-01-18 22:02 ` hjl dot tools at gmail dot com
  2009-01-18 22:06 ` hjl dot tools at gmail dot com
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-18 22:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from hjl dot tools at gmail dot com  2009-01-18 22:02 -------
This is introduced by revision 128537:

http://gcc.gnu.org/ml/gcc-cvs/2007-09/msg00531.html
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00084.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (7 preceding siblings ...)
  2009-01-18 22:02 ` hjl dot tools at gmail dot com
@ 2009-01-18 22:06 ` hjl dot tools at gmail dot com
  2009-01-19 19:30 ` hjl dot tools at gmail dot com
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-18 22:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from hjl dot tools at gmail dot com  2009-01-18 22:06 -------
*** Bug 38616 has been marked as a duplicate of this bug. ***


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|38616                       |
              nThis|                            |
                 CC|                            |socketpair at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (8 preceding siblings ...)
  2009-01-18 22:06 ` hjl dot tools at gmail dot com
@ 2009-01-19 19:30 ` hjl dot tools at gmail dot com
  2009-01-19 20:30 ` hjl dot tools at gmail dot com
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-19 19:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from hjl dot tools at gmail dot com  2009-01-19 19:30 -------
The problem is x86 doesn't set the memory size correct for rep_stos.
Gcc 4.3.3 gave:

(gdb) call debug_rtx (destmem)
(mem/s/c:BLK (reg:DI 59) [3 buffer+8 S1 A64])
(gdb) 

Jakub's patch corrected it to

(gdb) call debug_rtx (destmem)
(mem/s/c:BLK (reg:DI 59) [0 buffer+8 S1016 A64])
(gdb) 

Since scheduler thinks the size of memory is 1, it changed

(insn:HI 13 12 15 2 x.c:5 (parallel [
            (set (reg:DI 2 cx [62])
                (const_int 0 [0x0]))
            (set (reg:DI 5 di [59])
                (plus:DI (ashift:DI (reg:DI 2 cx [62])
                        (const_int 3 [0x3]))
                    (reg:DI 5 di [59])))
            (set (mem/s/c:BLK (reg:DI 5 di [59]) [3 buffer+8 S1 A64])
                (const_int 0 [0x0]))
            (use (reg:DI 0 ax [60]))
            (use (reg:DI 2 cx [62]))
        ]) 801 {*rep_stosdi_rex64} (expr_list:REG_DEAD (reg:DI 0 ax [60])
        (expr_list:REG_UNUSED (reg:DI 5 di [59])
            (expr_list:REG_UNUSED (reg:DI 2 cx [62])
                (nil)))))
...
(insn:HI 22 65 24 2 x.c:6 (set (mem/s/c:HI (plus:DI (reg/f:DI 7 sp)
                (const_int 24 [0x18])) [0 buffer+24 S2 A64])
        (const_int 111 [0x6f])) 53 {*movhi_1} (nil)

into

(insn:HI 22 65 24 2 x.c:6 (set (mem/s/c:HI (plus:DI (reg/f:DI 7 sp)
                (const_int 24 [0x18])) [0 buffer+24 S2 A64])
        (const_int 111 [0x6f])) 53 {*movhi_1} (nil)
...
(insn:TI 13 22 68 2 x.c:5 (parallel [
            (set (reg:DI 2 cx [62])
                (const_int 0 [0x0]))
            (set (reg:DI 5 di [59])
                (plus:DI (ashift:DI (reg:DI 2 cx [62])
                        (const_int 3 [0x3]))
                    (reg:DI 5 di [59])))
            (set (mem/s/c:BLK (reg:DI 5 di [59]) [3 buffer+8 S1 A64])
                (const_int 0 [0x0]))
            (use (reg:DI 0 ax [60]))
            (use (reg:DI 2 cx [62]))
        ]) 801 {*rep_stosdi_rex64} (expr_list:REG_DEAD (reg:DI 0 ax [60])
        (expr_list:REG_UNUSED (reg:DI 5 di [59])
            (expr_list:REG_UNUSED (reg:DI 2 cx [62])
                (nil)))))


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (9 preceding siblings ...)
  2009-01-19 19:30 ` hjl dot tools at gmail dot com
@ 2009-01-19 20:30 ` hjl dot tools at gmail dot com
  2009-01-20 14:40 ` hjl at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-19 20:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from hjl dot tools at gmail dot com  2009-01-19 20:30 -------
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2009-01/msg00948.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2009-
                   |                            |01/msg00948.html


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (10 preceding siblings ...)
  2009-01-19 20:30 ` hjl dot tools at gmail dot com
@ 2009-01-20 14:40 ` hjl at gcc dot gnu dot org
  2009-01-21 22:16 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-01-20 14:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from hjl at gcc dot gnu dot org  2009-01-20 14:40 -------
Subject: Bug 38902

Author: hjl
Date: Tue Jan 20 14:40:30 2009
New Revision: 143516

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143516
Log:
2009-01-20  Kees Cook  <kees@ubuntu.com>
            H.J. Lu  <hongjiu.lu@intel.com>

        PR target/38902
        * gcc.dg/pr38902.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/pr38902.c
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (11 preceding siblings ...)
  2009-01-20 14:40 ` hjl at gcc dot gnu dot org
@ 2009-01-21 22:16 ` rguenth at gcc dot gnu dot org
  2009-01-24 10:28 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-21 22:16 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
           Priority|P3                          |P2
   Last reconfirmed|0000-00-00 00:00:00         |2009-01-21 22:16:39
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (12 preceding siblings ...)
  2009-01-21 22:16 ` rguenth at gcc dot gnu dot org
@ 2009-01-24 10:28 ` rguenth at gcc dot gnu dot org
  2009-01-24 15:31 ` hjl at gcc dot gnu dot org
  2009-01-24 17:55 ` hjl dot tools at gmail dot com
  15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-24 10:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from rguenth at gcc dot gnu dot org  2009-01-24 10:21 -------
GCC 4.3.3 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.3                       |4.3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (13 preceding siblings ...)
  2009-01-24 10:28 ` rguenth at gcc dot gnu dot org
@ 2009-01-24 15:31 ` hjl at gcc dot gnu dot org
  2009-01-24 17:55 ` hjl dot tools at gmail dot com
  15 siblings, 0 replies; 17+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-01-24 15:31 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/38902] [4.3 Regression] __builtin_strcpy doesn't work with -fstack-protector
  2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
                   ` (14 preceding siblings ...)
  2009-01-24 15:31 ` hjl at gcc dot gnu dot org
@ 2009-01-24 17:55 ` hjl dot tools at gmail dot com
  15 siblings, 0 replies; 17+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-01-24 17:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from hjl dot tools at gmail dot com  2009-01-24 17:55 -------
Fixed.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to work|4.1.2 4.4.0                 |4.1.2 4.3.4 4.4.0
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38902


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-01-24 17:55 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-18  0:19 [Bug target/38902] New: gcc.dg/pr38616.c fails hjl dot tools at gmail dot com
2009-01-18  1:41 ` [Bug target/38902] __builtin_strcpy doesn't work with -fstack-protector hjl dot tools at gmail dot com
2009-01-18  1:43 ` hjl dot tools at gmail dot com
2009-01-18 10:02 ` doko at ubuntu dot com
2009-01-18 17:05 ` hjl dot tools at gmail dot com
2009-01-18 18:12 ` kees at outflux dot net
2009-01-18 18:26 ` [Bug target/38902] [4.3 Regression] " hjl dot tools at gmail dot com
2009-01-18 18:27 ` hjl dot tools at gmail dot com
2009-01-18 22:02 ` hjl dot tools at gmail dot com
2009-01-18 22:06 ` hjl dot tools at gmail dot com
2009-01-19 19:30 ` hjl dot tools at gmail dot com
2009-01-19 20:30 ` hjl dot tools at gmail dot com
2009-01-20 14:40 ` hjl at gcc dot gnu dot org
2009-01-21 22:16 ` rguenth at gcc dot gnu dot org
2009-01-24 10:28 ` rguenth at gcc dot gnu dot org
2009-01-24 15:31 ` hjl at gcc dot gnu dot org
2009-01-24 17:55 ` hjl dot tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).