Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2007-09-22 | sourcebuild.texi (dg-add-c99-runtime-options): Document. | Richard Sandiford | 1 | -2/+1 | |
gcc/ * doc/sourcebuild.texi (dg-add-c99-runtime-options): Document. gcc/testsuite/ * lib/target-supports.exp (add_options_for_c99_runtime): New procedure. * lib/target-supports-dg.exp (dg-add-options): Likewise. * gcc.dg/builtins-18.c: Use { dg-add-options c99_runtime } instead of target-specific dg-options. * gcc.dg/builtins-20.c: Likewise. * gcc.dg/builtins-53.c: Likewise. * gcc.dg/builtins-55.c: Likewise. * gcc.dg/single-precision-constant.c: Likewise. * gcc.dg/torture/builtin-convert-1.c: Likewise. * gcc.dg/torture/builtin-convert-2.c: Likewise. * gcc.dg/torture/builtin-convert-3.c: Likewise. * gcc.dg/torture/builtin-convert-4.c: Likewise. * gcc.dg/torture/builtin-power-1.c: Likewise. From-SVN: r128663 | |||||
2007-03-08 | builtins.def (lceil, [...]): Mark with ATTR_CONST_NOTHROW_LIST. | Kaveh R. Ghazi | 1 | -0/+12 | |
* 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_warnv_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-minmax-1.c: Likewise. Also test *lrint* and *lround*. Correct macro names. * gcc.dg/torture/builtin-nonneg-1.c: Test *lceil* and *lfloor*. * gcc.dg/torture/builtin-rounding-1.c: Likewise. From-SVN: r122713 | |||||
2006-07-27 | builtins.c (fold_fixed_mathfn): When long and long long are the same size... | Roger Sayle | 1 | -0/+75 | |
* builtins.c (fold_fixed_mathfn): When long and long long are the same size, canonicalize llceil*, llfloor*, llround* and llrint* functions to their lceil*, lfloor*, lround* and lrint* forms. * gcc.dg/builtins-55.c: New test case. From-SVN: r115775 |