From: Ian Lance Taylor Date: Thu, 1 Oct 2015 14:43:57 +0000 (+0000) Subject: re PR go/66870 (split stack issues on ppc64le and ppc64) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=209919e2fdac3f26f62ba7b77e28d0a9df2909c2;p=gcc.git 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 --- diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index a6e8dd5f1ee..be1fd0cb09b 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,9 @@ +2015-10-01 Ian Lance Taylor + + PR go/66870 + * gospec.c (lang_specific_driver): Only look for OPT_m32 if + TARGET_CAN_SPLIT_STACK_64BIT is defined. + 2015-10-01 Lynn Boger PR target/66870 diff --git a/gcc/go/gospec.c b/gcc/go/gospec.c index 2c60ee7db8f..ca3c2d70d68 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: