From 209919e2fdac3f26f62ba7b77e28d0a9df2909c2 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 1 Oct 2015 14:43:57 +0000 Subject: re PR go/66870 (split stack issues on ppc64le and ppc64) PR go/66870 * gospec.c (lang_specific_driver): Only look for OPT_m32 if TARGET_CAN_SPLIT_STACK_64BIT is defined. From-SVN: r228342 --- gcc/go/gospec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/go/gospec.c') diff --git a/gcc/go/gospec.c b/gcc/go/gospec.c index 2c60ee7..ca3c2d7 100644 --- a/gcc/go/gospec.c +++ b/gcc/go/gospec.c @@ -158,9 +158,11 @@ lang_specific_driver (struct cl_decoded_option **in_decoded_options, library = (library == 0) ? 1 : library; break; +#ifdef TARGET_CAN_SPLIT_STACK_64BIT case OPT_m32: saw_opt_m32 = true; break; +#endif case OPT_pg: case OPT_p: -- cgit v1.1