------- 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

Reply via email to