From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10807 invoked by alias); 15 Jul 2004 20:41:23 -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 10659 invoked by uid 48); 15 Jul 2004 20:41:22 -0000 Date: Thu, 15 Jul 2004 20:41:00 -0000 Message-ID: <20040715204122.10658.qmail@sourceware.org> From: "j dot gnu at uriah dot heep dot sax dot de" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040715103001.16563.baphomed@lycos.de> References: <20040715103001.16563.baphomed@lycos.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/16563] The compiler doesnt the necessary push/restore of r18/r19 X-Bugzilla-Reason: CC X-SW-Source: 2004-07/txt/msg01939.txt.bz2 List-Id: ------- Additional Comments From j dot gnu at uriah dot heep dot sax dot de 2004-07-15 20:41 ------- I can confirm the bug, as well as the regression against GCC 3.3.x. In GCC 3.3.x, parameter `d' (in Martin's test case) has been internally copied over to r14 through r17, and that value was used then. In GCC 3.4.x, `d' is no longer saved, so wrong values will be passed on once a called function has modified r18 and/or r19 (which it is free to do according to the ABI specification). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16563