On 21 Mar 2012, at 22:45, Steven Bosscher wrote:
On Wed, Mar 21, 2012 at 11:11 PM, Mike Stump <mikest...@comcast.net>
wrote:
On Mar 21, 2012, at 2:32 PM, Steven Bosscher wrote:
In any case, if there's nothing left to fix for PR24777, I suppose
it
can be closed as FIXED.
I see all sorts of FIXME: in c-decl.c still... Anyway, someone
needs to sort out what is done and remains undone and update the
FIXMEs... I don't know which ones are dead.
Ehm, yes. I was looking in the wrong place (objc/*). The "weird
not-really-builtin functions" are the ones added via
add_builtin_function but with builtin type NOT_BUILT_IN. Those
problems still appear to be there:
objc/objc-act.c: = add_builtin_function (TAG_EXCEPTIONTHROW,
temp_type, 0, NOT_BUILT_IN, NULL,
objc/objc-act.c: = add_builtin_function (TAG_SYNCENTER, temp_type,
0, NOT_BUILT_IN,
objc/objc-act.c: = add_builtin_function (TAG_SYNCEXIT, temp_type,
0, NOT_BUILT_IN,
objc/objc-act.c: = add_builtin_function (TAG_ENUMERATION_MUTATION,
type, 0, NOT_BUILT_IN,
objc/objc-gnu-runtime-abi-01.c: = add_builtin_function
(TAG_GETCLASS, type, 0, NOT_BUILT_IN,
objc/objc-next-runtime-abi-01.c: = add_builtin_function
(TAG_GETCLASS, type, 0, NOT_BUILT_IN,
<snip>
(TAG_ASSIGNGLOBAL, temp_type, 0, NOT_BUILT_IN, NULL,
objc/objc-next-runtime-abi-01.c: = add_builtin_function
(TAG_ASSIGNSTRONGCAST, temp_type, 0, NOT_BUILT_IN, NULL,
(+ some not found by grep because the add_builtin_function call spans
multiple lines)
conceptually, the issue is that there are multiple sets of built-ins
(potentially, one set for each runtime, and the sets are of different
sizes). Thus, it's not just a case of turning these into regular
built-ins, without some mechanism to cater for overloading or presence/
absence of particular ones.