https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88134

--- Comment #18 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Or, if you want your compiler to build:

===
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 5120202..c041f15 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -38862,11 +38862,10 @@ emit_fusion_gpr_load (rtx target, rtx mem)
   return "";
 }
 ^L
-
-#ifdef RS6000_GLIBC_ATOMIC_FENV
 /* Function declarations for rs6000_atomic_assign_expand_fenv.  */
-static tree atomic_hold_decl, atomic_clear_decl, atomic_update_decl;
-#endif
+static GTY(()) tree atomic_hold_decl ATTRIBUTE_UNUSED;
+static GTY(()) tree atomic_clear_decl ATTRIBUTE_UNUSED;
+static GTY(()) tree atomic_update_decl ATTRIBUTE_UNUSED;

 /* Implement TARGET_ATOMIC_ASSIGN_EXPAND_FENV hook.  */

===

Reply via email to