r122727 - in /branches/gcc-4_2-branch/gcc: Chan...
ghazi@gcc.gnu.org
ghazi@gcc.gnu.org
Thu Mar 8 22:55:00 GMT 2007
Author: ghazi
Date: Thu Mar 8 22:55:25 2007
New Revision: 122727
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122727
Log:
* builtins.def (lceil, lceilf, lceill, lfloor, lfloorf, lfloorl,
llceil, llceilf, llceill, llfloor, llfloorf, llfloorl): Mark with
ATTR_CONST_NOTHROW_LIST.
* fold-const.c (tree_expr_nonnegative_p): Handle FIX_TRUNC_EXPR.
testsuite:
* gcc.dg/builtins-55.c: Test *lceil* and *lfloor*.
* gcc.dg/torture/builtin-attr-1.c: Likewise.
* gcc.dg/torture/builtin-convert-1.c: Likewise. Also test *lrint* and *lround*.
* gcc.dg/torture/builtin-convert-2.c: Test ceil->lceil and floor->lfloor.
* gcc.dg/torture/builtin-convert-3.c: Test *lceil* and *lfloor*.
* gcc.dg/torture/builtin-integral-1.c: Likewise.
* gcc.dg/torture/builtin-nonneg-1.c: Likewise.
* gcc.dg/torture/builtin-rounding-1.c: Likewise.
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/builtins.def
branches/gcc-4_2-branch/gcc/fold-const.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/builtins-55.c
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/torture/builtin-attr-1.c
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/torture/builtin-convert-1.c
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/torture/builtin-convert-2.c
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/torture/builtin-convert-3.c
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/torture/builtin-integral-1.c
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/torture/builtin-nonneg-1.c
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/torture/builtin-rounding-1.c
More information about the Gcc-cvs
mailing list