This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING][PATCH, rs6000, C/C++] Fix PR target/86324: divkc3-1.c FAILs when compiling with -mabi=ieeelongdouble


On 07/02/2018 03:50 PM, Peter Bergner wrote:
> I'd like to PING:
> 
>   https://gcc.gnu.org/ml/gcc-patches/2018-06/msg01713.html
> 
> I've included the entire patch below, since I missed the test cases in
> the original submission and Segher asked for some updated text for the
> hook documentation which I've included below.
> 
> Peter
> 
> 
> 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.
OK.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]