Handle constant fp classifications in fold-const-call.c
authorRichard Sandiford <richard.sandiford@arm.com>
Sat, 7 Nov 2015 10:05:51 +0000 (10:05 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sat, 7 Nov 2015 10:05:51 +0000 (10:05 +0000)
commit2556a032cc18bb71c85988967fed074528fb5030
tree94dd631ff29bdbed21c2b63a6d9ae302de5441f7
parent5486d91300d0540215978ecde30870e1a337910c
Handle constant fp classifications in fold-const-call.c

Move the constant "is finite", "is infinite" and "is nan" queries
to fold-const-call.c.

Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi.

gcc/
* builtins.c (fold_builtin_classify): Move constant cases to...
* fold-const-call.c (fold_const_call_ss): ...here.

From-SVN: r229920
gcc/ChangeLog
gcc/builtins.c
gcc/fold-const-call.c