aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2004-01-23 16:16:33 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2004-01-23 16:16:33 +0000
commit25348c94e7a966a65fe94f62563ad1982f2f9923 (patch)
treea4e7871be466032d2019d3dd74d2f1702b848756 /gcc/c-decl.c
parent69f2de23b2401a6602271262a103270a81d5f175 (diff)
downloadgcc-25348c94e7a966a65fe94f62563ad1982f2f9923.zip
gcc-25348c94e7a966a65fe94f62563ad1982f2f9923.tar.gz
gcc-25348c94e7a966a65fe94f62563ad1982f2f9923.tar.bz2
real.c (real_floor, real_ceil): Tweak to allow input and output arguments to overlap.
* real.c (real_floor, real_ceil): Tweak to allow input and output arguments to overlap. (real_round): New function to implement round(3m) semantics. * real.h (real_round): Prototype here. * builtins.c (fold_builtin_round): New function to constant fold round, roundf and roundl. (fold_builtin): Call fold_builtin_round for BUILT_IN_ROUND{,F,L}. * gcc.dg/builtins-29.c: New test case. From-SVN: r76428
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions