From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6430 invoked by alias); 13 May 2004 01:59:45 -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 6320 invoked by uid 48); 13 May 2004 01:59:44 -0000 Date: Thu, 13 May 2004 13:25:00 -0000 Message-ID: <20040513015944.6316.qmail@sourceware.org> From: "danglin at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040511173837.15381.danglin@gcc.gnu.org> References: <20040511173837.15381.danglin@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/15381] [3.5 Regression] Bootstrap comparison failure! X-Bugzilla-Reason: CC X-SW-Source: 2004-05/txt/msg01227.txt.bz2 List-Id: ------- Additional Comments From danglin at gcc dot gnu dot org 2004-05-13 01:59 ------- This appears to be a bug in reorg, possibly related to the recent fix for PR optimization/15296. The miscompilation of the test program occurs because cpp_classify_number in cppexp.c has been miscompiled: .stabn 68,0,98,L$M31-cpp_classify_number L$M31: addl %r24,%r25,%r19 comib,<< 1,%r19,L$0142 ldil LR'L$C0005,%r24 comib,<< 1,%r23,L$0142 ldi 0,%r19 comiclr,= 0,%r23,%r0 ldil L'8192,%r19 copy %r19,%r6 comib,<> 0,%r24,L$0051 depi -1,27,1,%r6 The "ldil" in the delay slot of the first "comib" incorrectly clobbers %r24 in the fallthru path. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15381