From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28213 invoked by alias); 8 Jul 2004 17:40:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 28195 invoked by uid 48); 8 Jul 2004 17:40:02 -0000 Date: Thu, 08 Jul 2004 17:40:00 -0000 Message-ID: <20040708174002.28194.qmail@sourceware.org> From: "ebotcazou at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20020531004606.6882.dann@godzilla.ics.uci.edu> References: <20020531004606.6882.dann@godzilla.ics.uci.edu> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/6882] Useless stack adjustment code X-Bugzilla-Reason: CC X-SW-Source: 2004-07/txt/msg00816.txt.bz2 List-Id: ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-07-08 17:40 ------- This is fixed on SPARC thanks to tree-ssa. With the original testcase at -O2: .file "pr6882.cpp" .section ".text" .align 4 .align 4 .global _Z6foobarv .type _Z6foobarv, #function .proc 020 _Z6foobarv: .LLFB9: jmp %o7+8 nop .LLFE9: .size _Z6foobarv, .-_Z6foobarv .ident "GCC: (GNU) 3.5.0 20040705 (experimental)" Falk, the example you gave in comment #6 appears to be specific to Alpha: it doesn't generate epilogue/prologue code on SPARC with 3.4.x or mainline. So I'd suggest to open a specific PR to track the problem. I'm closing this one. -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED GCC target triplet|sparc*-*-*,alpha*-*-* |sparc*-*-* Resolution| |FIXED Target Milestone|--- |3.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6882