aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-10-26 09:29:26 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-10-26 09:29:26 +0000
commit543a9bcd216d9a9fb377b7f84766cdcc858c21c0 (patch)
tree66e60349762aaae2db7fc91e21bb08474e8cd4b0 /gcc/java
parent257aecb4a57670a5d0aa7b023faca4438a7c1ae1 (diff)
downloadgcc-543a9bcd216d9a9fb377b7f84766cdcc858c21c0.zip
gcc-543a9bcd216d9a9fb377b7f84766cdcc858c21c0.tar.gz
gcc-543a9bcd216d9a9fb377b7f84766cdcc858c21c0.tar.bz2
Move int rounding folds to match.pd
Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. gcc/ * builtins.c (do_real_to_int_conversion): New function. (fold_fixed_mathfn, fold_builtin_int_roundingfn): Delete. (fold_builtin_1): Handle constant {i,l,ll}{ceil,floor,round}{f,,l} arguments here. * match.pd: Add rules previously handled by fold_fixed_mathfn and fold_builtin_int_roundingfn. gcc/testsuite/ * gcc.dg/torture/builtin-minmax-1.c: Don't run at -O0. From-SVN: r229311
Diffstat (limited to 'gcc/java')
0 files changed, 0 insertions, 0 deletions