From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25816 invoked by alias); 25 Jun 2009 07:26:20 -0000 Received: (qmail 25494 invoked by uid 48); 25 Jun 2009 07:26:06 -0000 Date: Thu, 25 Jun 2009 07:26:00 -0000 Message-ID: <20090625072606.25493.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug testsuite/40532] FAIL: gcc.dg/builtins-65.c (test for excess errors) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ubizjak at gmail dot com" 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: 2009-06/txt/msg01822.txt.bz2 ------- Comment #5 from ubizjak at gmail dot com 2009-06-25 07:26 ------- (In reply to comment #2) > > Can you put HAVE_C99_RUNTIME around problematic conversions (just copy the > > approach from builtins-18.c) ? > > Attached diff. However, there's still a call left to linK_error. This is due to the fact that your libm provides logb and ilogb. However, according to linux mapages, these are C99 functions. Your target doesn't define TARGET_C99_FUNCTIONS, so optimizer does not recognize logb and ilogb as functions that can be converted. I will simply disable builtins-65.c for non-C99 targets -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |ubizjak at gmail dot com |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-06-25 07:26:05 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40532