On Thu, 29 Apr 2021, Segher Boessenkool wrote: > > > > gcc/ > > > > 2021-04-29 Michael Meissner <meiss...@linux.ibm.com> > > > > > > > > PR bootstrap/100327 > > > > * config/rs6000/rs6000.c > > > > (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): Define. > > > > > > I don't see this used anywhere on trunk? Did you forget some file(s) in > > > the patch? > > > > TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P is the name of the macro that > > defines > > the targetm.libgcc_floating_mode_supported_p hook: > > Huh. And this is used nowhere in libgcc itself!
Target hooks can't be used directly in libgcc. It's a hook that controls macros defined if -fbuilding-libgcc is used (defining lots of predefined macros has some startup time cost, as well as creating interfaces users might then start relying on even if that's a bad idea, so if information from the compiler is only ever relevant for building its own runtime libraries and not for the normal user case, the predefined macros in question are only defined if -fbuilding-libgcc). -- Joseph S. Myers jos...@codesourcery.com