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

--- Comment #17 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Like this:

===
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 5120202..429eac5 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -38865,7 +38865,9 @@ emit_fusion_gpr_load (rtx target, rtx mem)

 #ifdef RS6000_GLIBC_ATOMIC_FENV
 /* Function declarations for rs6000_atomic_assign_expand_fenv.  */
-static tree atomic_hold_decl, atomic_clear_decl, atomic_update_decl;
+static GTY(()) tree atomic_hold_decl;
+static GTY(()) tree atomic_clear_decl;
+static GTY(()) tree atomic_update_decl;
 #endif

 /* Implement TARGET_ATOMIC_ASSIGN_EXPAND_FENV hook.  */
===

Arseny, can you test that please?

Reply via email to