diff options
author | Ian Lance Taylor <iant@google.com> | 2015-10-01 14:43:57 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-10-01 14:43:57 +0000 |
commit | 209919e2fdac3f26f62ba7b77e28d0a9df2909c2 (patch) | |
tree | ec51a6f1b1cba3dd4b919064d8432f62411829be /gcc/go/gospec.c | |
parent | 9edaabf3d2cee4597f83227656ac50ed03bc669a (diff) | |
download | gcc-209919e2fdac3f26f62ba7b77e28d0a9df2909c2.zip gcc-209919e2fdac3f26f62ba7b77e28d0a9df2909c2.tar.gz gcc-209919e2fdac3f26f62ba7b77e28d0a9df2909c2.tar.bz2 |
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
Diffstat (limited to 'gcc/go/gospec.c')
-rw-r--r-- | gcc/go/gospec.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |