From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24030 invoked by alias); 22 Aug 2009 18:38:36 -0000 Received: (qmail 23988 invoked by uid 48); 22 Aug 2009 18:38:18 -0000 Date: Sat, 22 Aug 2009 18:38:00 -0000 Message-ID: <20090822183818.23987.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: "slyfox at inbox dot ru" 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/msg01784.txt.bz2 ------- Comment #5 from slyfox at inbox dot ru 2009-08-22 18:38 ------- (In reply to comment #3) > Created an attachment (id=18413) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18413&action=view) [edit] > 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? > Sorry, it does not compile on gcc-4.4.1: build/genoutput /tmp/paludis/sys-devel-gcc-4.4.1-r1/work/gcc-4.4.1/gcc/config/i386/i386.md \ insn-conditions.md > tmp-output.c /tmp/paludis/sys-devel-gcc-4.4.1-r1/work/gcc-4.4.1/gcc/config/i386/i386.md:14984: wrong number of alternatives in operand 2 make[3]: *** [s-output] Error 1 make[3]: *** Waiting for unfinished jobs.... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40718