This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: ObjC++-related common code mods
Ziemowit Laski <zlaski@ziemas.net> writes:
>>>> - if (TREE_CODE (purpose) == RANGE_EXPR)
>>>> + if (purpose && TREE_CODE (purpose) == RANGE_EXPR)
>>>
>>> Andrew says this bit is unnecessary; please check.
>>
>> It is necessary -- in ObjC++.
>
> Zack, do you have any other questions regarding this? I neglected
> to say that the fragment above is hit when objc_build_constructor()
> is called in ObjC++ mode.
Please explain in great detail why this is not a bug in
objc_build_constructor, then.
zw