https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24775
--- Comment #4 from tbsaunde at gcc dot gnu.org --- Author: tbsaunde Date: Sat Sep 12 22:19:00 2015 New Revision: 227710 URL: https://gcc.gnu.org/viewcvs?rev=227710&root=gcc&view=rev Log: remove STRUCT_VALUE macro This macro was converted to the TARGET_STRUCT_VALUE_RTX hook many years ago, however there are still some lingering definitions, and a use in libobjc. All the remaining definitions define the macro to 0, which libobjc treats the same as undefined, so it won't break anything else to have libobjc stop checking the macro. However it may be that this part of libobjc has been broken for a long time on targets that only define the hook, but that is a separate issue. gcc/ChangeLog: 2015-09-12 Trevor Saunders <tbsaunde+...@tbsaunde.org> * config/arc/arc.h: Remove define of STRUCT_VALUE. * config/lm32/lm32.h: Likewise. * config/mep/mep.h: Likewise. * config/visium/visium.h: Likewise. * system.h: Poison STRUCT_VALUE macro. libobjc/ChangeLog: 2015-09-12 Trevor Saunders <tbsaunde+...@tbsaunde.org> PR libobjc/24775 * sendmsg.c: Remove check of STRUCT_VALUE macro. Modified: trunk/gcc/ChangeLog trunk/gcc/config/arc/arc.h trunk/gcc/config/lm32/lm32.h trunk/gcc/config/mep/mep.h trunk/gcc/config/visium/visium.h trunk/gcc/system.h trunk/libobjc/ChangeLog trunk/libobjc/sendmsg.c