diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2007-05-18 01:31:20 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2007-05-18 01:31:20 +0000 |
commit | ea91f95764aaa7a1ab8ceb78e81414dc28fb6b42 (patch) | |
tree | d397abaa47309791779548be5eedc00901d236bb /gcc/testsuite/gcc.dg/builtins-1.c | |
parent | fd2ef596b5fe6bfdf10bed1c8a4b4100d8a0772a (diff) | |
download | gcc-ea91f95764aaa7a1ab8ceb78e81414dc28fb6b42.zip gcc-ea91f95764aaa7a1ab8ceb78e81414dc28fb6b42.tar.gz gcc-ea91f95764aaa7a1ab8ceb78e81414dc28fb6b42.tar.bz2 |
re PR middle-end/31796 (Evaluate remquo/remainder/drem at compile-time)
PR middle-end/31796
* builtins.c (do_mpfr_remquo): New.
(fold_builtin_2): Handle BUILT_IN_DREM/BUILT_IN_REMAINDER.
(fold_builtin_3): Handle BUILT_IN_REMQUO.
testsuite:
* gcc.dg/torture/builtin-math-2.c: Add tests for remquo, remainder
and drem.
* gcc.dg/torture/builtin-math-4.c: Likewise.
From-SVN: r124820
Diffstat (limited to 'gcc/testsuite/gcc.dg/builtins-1.c')
0 files changed, 0 insertions, 0 deletions