From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2242 invoked by alias); 28 Aug 2013 13:10:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 2217 invoked by uid 48); 28 Aug 2013 13:10:10 -0000 From: "rose.garcia-eggl2fk at yopmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/58245] -fstack-protector[-all] does not protect functions that call noreturn functions Date: Wed, 28 Aug 2013 13:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rose.garcia-eggl2fk at yopmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-08/txt/msg01458.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58245 Rose Garcia changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rose.garcia-eggl2fk@yopmail | |.com --- Comment #4 from Rose Garcia --- the place to get only the GCC patches for musl is https://github.com/GregorR/musl-gcc-patches though. btw, some debugging has shown that stack_protect_prologue() and stack_protect_epilogue() are both called, so it looks as if it's a later pass that decides to eliminate the "dead" code of the epilogue, but not the one of the prologue. any hints where in the code this could happen is appreciated.