re PR target/86324 (testsuite test divkc3-1.c FAILs when compiling with -mabi=ieeelon...
authorPeter Bergner <bergner@linux.ibm.com>
Fri, 6 Jul 2018 21:05:48 +0000 (21:05 +0000)
committerPeter Bergner <bergner@gcc.gnu.org>
Fri, 6 Jul 2018 21:05:48 +0000 (16:05 -0500)
commit8de583fc5301987f31e1897e07d545e218b943da
treee0355f244ec0a61d828a04ab7d1783556b3a2fcd
parent7cf2b955893a333c6f6e4c60427832e97dd2bff7
re PR target/86324 (testsuite test divkc3-1.c FAILs when compiling with -mabi=ieeelongdouble)

gcc/
PR target/86324
* target.def (translate_mode_attribute): New hook.
* targhooks.h (default_translate_mode_attribute): Declare.
* targhooks.c (default_translate_mode_attribute): New function.
* doc/tm.texi.in (TARGET_TRANSLATE_MODE_ATTRIBUTE): New hook.
* doc/tm.texi: Regenerate.
* config/rs6000/rs6000.c (TARGET_TRANSLATE_MODE_ATTRIBUTE): Define.
(rs6000_translate_mode_attribute): New function.

gcc/c-family/
PR target/86324
* c-attribs.c (handle_mode_attribute): Call new translate_mode_attribute
target hook.

gcc/testsuite/
PR target/86324
gcc.target/powerpc/pr86324-1.c: New test.
gcc.target/powerpc/pr86324-2.c: Likewise.

From-SVN: r262484
12 files changed:
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-attribs.c
gcc/config/rs6000/rs6000.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/target.def
gcc/targhooks.c
gcc/targhooks.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr86324-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr86324-2.c [new file with mode: 0644]