Do not define DFP builtin functions, if DFP has been disabled.
authorPeter Bergner <bergner@linux.ibm.com>
Wed, 27 Nov 2019 20:55:56 +0000 (20:55 +0000)
committerPeter Bergner <bergner@gcc.gnu.org>
Wed, 27 Nov 2019 20:55:56 +0000 (14:55 -0600)
commita92cc0da1c4c85b5ac8bb3eb013946ee9ad3a40f
treeef8ff7b888d59b8e85f7397e7f468bdb495a83b5
parentb1a73b489462df2a1edaf39ec10dc03e0963d516
Do not define DFP builtin functions, if DFP has been disabled.

PR bootstrap/92661
* config/rs6000/rs6000-call.c: (def_builtin): Do not define the
builtin if we don't have an actual type.
(builtin_function_type): If the builtin function uses a DFP type
and decimal float has been disabled, then return NULL_TREE.

From-SVN: r278783
gcc/ChangeLog
gcc/config/rs6000/rs6000-call.c