re PR target/84912 (__builtin_divde* produce Internal Compiler Error when compiled...
authorPeter Bergner <bergner@vnet.ibm.com>
Wed, 28 Mar 2018 20:09:02 +0000 (15:09 -0500)
committerPeter Bergner <bergner@gcc.gnu.org>
Wed, 28 Mar 2018 20:09:02 +0000 (15:09 -0500)
commit1429da42b8a74f6116e4768c6763b13bd7993f20
tree55277077482689ac5456f2e3169e8e7ea998d9bd
parent427d369ce186fbe89562fc16a9d2cdaec37c99c0
re PR target/84912 (__builtin_divde* produce Internal Compiler Error when compiled -m32)

gcc/
PR target/84912
* config/rs6000/rs6000-builtin.def (DIVWEO): Delete macro expansion.
(DIVWEUO): Likewise.
(DIVDEO): Likewise.
(DIVDEUO): Likewise.
* config/rs6000/rs6000.c (builtin_function_type): Remove support for
DIVWEUO and DIVDEUO.
* config/rs6000/rs6000.md (UNSPEC_DIVEO, UNSPEC_DIVEUO): Delete unspecs.
(UNSPEC_DIV_EXTEND): Remove deleted unspecs.
(div_extend): Likewise.
* doc/extend.texi (__builtin_divweo): Remove documention for deleted
builtin function.
(__builtin_divweuo): Likewise.
(__builtin_divdeo): Likewise.
(__builtin_divdeuo): Likewise.

gcc/testsuite/
PR target/84912
* gcc.target/powerpc/extend-divide-1.c (div_weo): Remove test for
deleted builtin function.
(div_weuo): Likewise.
* gcc.target/powerpc/extend-divide-2.c (div_deo): Likewise.
(div_deuo): Likewise.

From-SVN: r258933
gcc/ChangeLog
gcc/config/rs6000/rs6000-builtin.def
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/extend-divide-1.c
gcc/testsuite/gcc.target/powerpc/extend-divide-2.c