This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, midlevel]: Fix PR tree-optimization/21004


Roger Sayle wrote:

I'll preapprove your patch together with the above two refinements
if it passes bootstrap and regression testing without problems.



I have comitted this patch to mainline, after adding all changes you requested:
http://gcc.gnu.org/ml/gcc-cvs/2005-04/msg00794.html


2005-04-15 Uros Bizjak <uros@kss-loka.si>

   PR tree-optimization/21004
   * convert.c (convert_to_integer): Convert ceilf, ceill, floorf
   and floorl in c99 mode only.
   * builtins.c (expand_builtin_int_roundingfn): Assert that
   fallback_fndecl is not NULL_TREE.

testsuite:

   PR tree-optimization/21004
   * gcc.dg/builtins-53.c: Include builtins-config.h.
   Check floorf, ceilf, floorl and ceill transformations
   only when HAVE_C99_RUNTIME is defined.

Patch was bootstrapped on i686-pc-linux-gnu, regtested on i686-pc-linux-gnu for c, c++ also regtested on sparc-sun-solaris2.8 for c.

Thank you for your reviews and suggestions!

Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]