From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6009 invoked by alias); 20 May 2003 20:51:16 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 5987 invoked from network); 20 May 2003 20:51:15 -0000 Received: from unknown (HELO dellpi.pinski.fam) (216.196.136.17) by sources.redhat.com with SMTP; 20 May 2003 20:51:15 -0000 Received: from physics.uc.edu (IDENT:pinskia@localhost.pinski.fam [127.0.0.1]) by dellpi.pinski.fam (8.12.2/8.12.1) with ESMTP id h4KKpCMJ005792; Tue, 20 May 2003 16:51:14 -0400 (EDT) Date: Tue, 20 May 2003 20:59:00 -0000 Subject: Re: [tree-ssa] bootstrap failure on ppc-apple-darwin6.6 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: gcc@gcc.gnu.org To: Andrew Pinski From: Andrew Pinski In-Reply-To: <29360CB9-8AD6-11D7-AF3E-000393A6D2F2@physics.uc.edu> Message-Id: Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg01904.txt.bz2 Looks like this is from a mis compiling of cppexp.c. On Tuesday, May 20, 2003, at 11:17 US/Eastern, Andrew Pinski wrote: > Fails on stage3 compiling libgcc > > testcase: > > #define TEMP (!0?4:8) > #if TEMP > 4 > int temp1 = TEMP; > #else > int temp2 = TEMP; > #endif > > > Should output temp2, not temp1. > > stage1/2 and mainline of gcc: > [zhivago2:objdir/gcc/stage1] pinskia% !./ > ./cc1 test1.c -E -o - > # 1 "test1.c" > # 1 "" > # 1 "" > # 1 "test1.c" > # 10 "test1.c" > int temp2 = (!0?4:8); > > Execution times (seconds) > TOTAL : 0.05 0.00 0.28 > > > > stage3: > ./cc1 test1.c -E -o - > # 1 "test1.c" > # 1 "" > # 1 "" > # 1 "test1.c" > > > > > > int temp1 = (!0?4:8); > > Execution times (seconds) > TOTAL : 0.02 0.00 0.03 > > Thanks, > Andrew Pinski > > >