From: David Edelsohn Date: Tue, 27 Apr 2021 16:59:59 +0000 (+0000) Subject: powerpc: fix bootstrap. X-Git-Tag: upstream/12.2.0~8531 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f82658338756fe9a38a728aa542d786a0e889e21;p=platform%2Fupstream%2Fgcc.git powerpc: fix bootstrap. gcc/ChangeLog: * config/rs6000/rs6000.c (rs6000_aix_precompute_tls_p): Protect with TARGET_AIX_OS. --- diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 60b8e3e..14ff56a 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -25371,6 +25371,7 @@ rs6000_legitimate_constant_p (machine_mode mode, rtx x) return true; } +#if TARGET_AIX_OS /* Implement TARGET_PRECOMPUTE_TLS_P. On the AIX, TLS symbols are in the TOC, which is maintained in the @@ -25382,6 +25383,7 @@ rs6000_aix_precompute_tls_p (machine_mode mode ATTRIBUTE_UNUSED, rtx x) { return tls_referenced_p (x); } +#endif /* Return TRUE iff the sequence ending in LAST sets the static chain. */