From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22406 invoked by alias); 8 Mar 2008 10:41:17 -0000 Received: (qmail 22141 invoked by uid 48); 8 Mar 2008 10:40:33 -0000 Date: Sat, 08 Mar 2008 10:41:00 -0000 Message-ID: <20080308104033.22140.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/35509] [4.3/4.4 Regression] builtin isinf() mismatch to compile-time substitution 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-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg00551.txt.bz2 ------- Comment #1 from rguenth at gcc dot gnu dot org 2008-03-08 10:40 ------- We run into the machine-independent inline expansion that replaces isinf(x) with isgreater(fabs(x),DBL_MAX). This is indeed inconsistend with the constant folding we do. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|target |middle-end Ever Confirmed|0 |1 Keywords| |wrong-code Last reconfirmed|0000-00-00 00:00:00 |2008-03-08 10:40:32 date| | Summary|[avr] 4.3.0: builtin isinf()|[4.3/4.4 Regression] builtin |mismatch to compile-time |isinf() mismatch to compile- |substitution |time substitution Target Milestone|--- |4.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35509