[Bug middle-end/23221] -fstack-protector does not protect tail call functions
-- What|Removed |Added CC||rth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23221
[Bug middle-end/23221] -fstack-protector does not protect tail call functions
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-03 23:14 --- Confirmed, it is a little more obvious on ppc-darwin: _bar: mflr r0 stmw r29,-12(r1) stw r0,8(r1) stwu r1,-96(r1) lis r29,ha16(___stack_chk_guard) la r29,lo16(___stack_chk_guard)(r29) lwz r0,0(r29) stw r0,76(r1) li r0,0 add r3,r3,r4 bl _foo lwz r0,76(r1) lwz r2,0(r29) xor. r0,r0,r2 li r2,0 beq+ cr0,L3 bl ___stack_chk_fail L3: addi r1,r1,96 lwz r0,8(r1) mtlr r0 lmw r29,-12(r1) blr -- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2005-08-03 23:14:13 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23221
[Bug middle-end/23221] -fstack-protector does not protect tail call functions
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2005-08-03 23:14:13 |2005-08-03 23:15:33 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23221
[Bug middle-end/23221] -fstack-protector does not protect tail call functions
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-04 03:57 --- Subject: Bug 23221 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-04 03:57:43 Modified files: gcc: ChangeLog calls.c function.c tree.h Log message: PR 23221 * function.c (stack_protect_epilogue): Export. * tree.h (stack_protect_epilogue): Declare. * calls.c (expand_call): Call it. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gccr1=2.9652r2=2.9653 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/calls.c.diff?cvsroot=gccr1=1.398r2=1.399 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/function.c.diff?cvsroot=gccr1=1.639r2=1.640 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gccr1=1.750r2=1.751 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23221
[Bug middle-end/23221] -fstack-protector does not protect tail call functions
--- Additional Comments From rth at gcc dot gnu dot org 2005-08-04 04:01 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23221
[Bug middle-end/23221] -fstack-protector does not protect tail call functions
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23221