Do not define builtins that overload disabled builtins.
authorPeter Bergner <bergner@linux.ibm.com>
Wed, 4 Dec 2019 19:53:26 +0000 (19:53 +0000)
committerPeter Bergner <bergner@gcc.gnu.org>
Wed, 4 Dec 2019 19:53:26 +0000 (13:53 -0600)
commit25ffd3d34e816dc2a68330fc6937ee166458d988
tree314323c051d06382184965891a330e86086e674a
parentb3e3b9000be5f6636096d63444a2d62260f7cbec
Do not define builtins that overload disabled builtins.

PR bootstrap/92661
* config/rs6000/rs6000-c.c (struct altivec_builtin_types): Move to
rs6000.h.
(altivec_overloaded_builtins): Move to rs6000-call.c.
* config/rs6000/rs6000.h (struct altivec_builtin_types): Moved from
rs6000-c.c.
* config/rs6000/rs6000-call.c (rs6000_builtin_info): Make static.
(altivec_overloaded_builtins): Moved from rs6000-c.c.
(rs6000_common_init_builtins): Do no define builtins that overload
builtins that have been disabled.

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