Re: [PATCH] PR target/79241: S/390: define TARGET_CUSTOM_FUNCTION_DESCRIPTORS.

2017-02-15 Thread Andreas Krebbel
On 02/09/2017 07:16 PM, Dominik Vogt wrote:
> The attached patch fixes PR 79241 on s390x.  Bootstrapped and
> regression tested on s390x biarch (not tested on s390).
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79421
> 
> Ciao
> 
> Dominik ^_^  ^_^
> 
Applied. Thanks!

-Andreas-



[PATCH] PR target/79241: S/390: define TARGET_CUSTOM_FUNCTION_DESCRIPTORS.

2017-02-09 Thread Dominik Vogt
The attached patch fixes PR 79241 on s390x.  Bootstrapped and
regression tested on s390x biarch (not tested on s390).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79421

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany
gcc/ChangeLog-pr79421

PR target/79421
* config/s390/s390.c: define TARGET_CUSTOM_FUNCTION_DESCRIPTORS.
>From 903c7c3feaadb39b58c2c0174c9f588e78d036ec Mon Sep 17 00:00:00 2001
From: Dominik Vogt 
Date: Thu, 9 Feb 2017 15:34:15 +0100
Subject: [PATCH] PR target/79421: S/390: define
 TARGET_CUSTOM_FUNCTION_DESCRIPTORS.

This fixes the test failure in gnat.dg/trampoline3.adb.
---
 gcc/config/s390/s390.c | 4 
 1 file changed, 4 insertions(+)

diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 9c4e641..434da60 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -15632,6 +15632,10 @@ s390_asan_shadow_offset (void)
 #undef TARGET_TRAMPOLINE_INIT
 #define TARGET_TRAMPOLINE_INIT s390_trampoline_init
 
+/* PR 79421 */
+#undef TARGET_CUSTOM_FUNCTION_DESCRIPTORS
+#define TARGET_CUSTOM_FUNCTION_DESCRIPTORS 1
+
 #undef TARGET_UNWIND_WORD_MODE
 #define TARGET_UNWIND_WORD_MODE s390_unwind_word_mode
 
-- 
2.3.0