From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13860 invoked by alias); 22 Aug 2009 13:43:25 -0000 Received: (qmail 13783 invoked by uid 48); 22 Aug 2009 13:43:11 -0000 Date: Sat, 22 Aug 2009 13:43:00 -0000 Message-ID: <20090822134311.13782.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/40718] Invalid code produced with -foptimize-sibling-calls In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ubizjak at gmail dot com" 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 X-SW-Source: 2009-08/txt/msg01779.txt.bz2 ------- Comment #3 from ubizjak at gmail dot com 2009-08-22 13:43 ------- Created an attachment (id=18413) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18413&action=view) patch to fix the failure Sibcalls of any kind should be done through call-clobbered regs only. This patch fixes the testcase. Sergei, can you please test it if it fixes your original problem? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40718