https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88134
--- Comment #31 from Segher Boessenkool <segher at gcc dot gnu.org> ---
A straightforward backport of that gives
In file included from /home/segher/src/gcc/gcc/config/rs6000/rs6000.cc:28765:
./gt-rs6000.h:143:6: error: 'atomic_update_decl' was not declared in this scope
143 | &atomic_update_decl,
| ^~~~~~~~~~~~~~~~~~
./gt-rs6000.h:145:13: error: 'atomic_update_decl' was not declared in this
scope
145 | sizeof (atomic_update_decl),
| ^~~~~~~~~~~~~~~~~~
./gt-rs6000.h:150:6: error: 'atomic_clear_decl' was not declared in this scope
150 | &atomic_clear_decl,
| ^~~~~~~~~~~~~~~~~
./gt-rs6000.h:152:13: error: 'atomic_clear_decl' was not declared in this scope
152 | sizeof (atomic_clear_decl),
| ^~~~~~~~~~~~~~~~~
./gt-rs6000.h:157:6: error: 'atomic_hold_decl' was not declared in this scope
157 | &atomic_hold_decl,
| ^~~~~~~~~~~~~~~~
./gt-rs6000.h:159:13: error: 'atomic_hold_decl' was not declared in this scope
159 | sizeof (atomic_hold_decl),
| ^~~~~~~~~~~~~~~~
Help?