From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8877 invoked by alias); 25 Apr 2006 15:45:20 -0000 Received: (qmail 8784 invoked by uid 48); 25 Apr 2006 15:45:08 -0000 Date: Tue, 25 Apr 2006 15:45:00 -0000 Message-ID: <20060425154508.8783.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/27308] Compiler generates incorrect code when calling a function with the result of an inline function as parameter In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" 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 X-SW-Source: 2006-04/txt/msg02196.txt.bz2 List-Id: ------- Comment #5 from rguenth at gcc dot gnu dot org 2006-04-25 15:45 ------- __res should be allocated to the same register as __r0 due to the '0' constraint which tells gcc to use the same register as for "=r" (__res). Whoops - I obviously meant to remove the __asm__("r0") from the __r0 variable... But maybe it works vice-versa, too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27308