On Wed, 29 May 2024, Kewen.Lin wrote: > > Note that when removing a target macro, it's a good idea to add it to the > > "Old target macros that have moved to the target hooks structure." list > > (of #pragma GCC poison) in system.h to ensure any new target that was > > originally written before the change doesn't accidentally get into GCC > > while still using the old macros. > > > > Thanks for the comments on target macro removal! I found it means > that we can't use such macros any more even if they have become port > specific. For some targets such as pa, they redefine these macros in
Yes, that's intentional. If you need subtarget headers to define something for use in the new target hook for those targets, make them define e.g. SUBTARGET_LONG_DOUBLE_MODE or similar instead, rather than using the old poisoned macro names. -- Joseph S. Myers josmy...@redhat.com