https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109913
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>: https://gcc.gnu.org/g:b9fb093e7ccaee68be659d7d9711652c57e37aca commit r14-1079-gb9fb093e7ccaee68be659d7d9711652c57e37aca Author: Iain Sandoe <i...@sandoe.co.uk> Date: Mon May 22 20:15:36 2023 +0100 libobjc: Add local macros to support encode generation [P109913]. r14-976-g9907413a3a6aa3 alters code to use the preferred _P-style macros rather than direct comparisons of (for example) tree codes. In the context of libobjc this does not work, since we do not include the relevant headers; the encoding implementation contains a local emulation of the target type layouts. The fix here provides relevant macros local to the use. Signed-off-by: Iain Sandoe <i...@sandoe.co.uk> PR libobjc/109913 libobjc/ChangeLog: * encoding.c (RECORD_OR_UNION_TYPE_P, VECTOR_TYPE_P): New. Co-authored-by: Andrew Pinski <apin...@marvell.com>