This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [trunk][patch] Avoid sharing DECL_ARGUMENTS


On Thu, Apr 2, 2009 at 11:19, Rafael Espindola <espindola@google.com> wrote:
> Now with the patch
>
> 2009/4/2 Rafael Espindola <espindola@google.com>:
>> Normally a function argument points back to the function DECL via
>> DECL_CONTEXT. If two FUNCTION_DECLs share DECL_ARGUMENTS, the
>> DECL_CONTEXT of the arguments must be incorrect for at least one of
>> the functions.
>>
>> This patch fixes one case where this was happening.
>>
>> 2009-04-02 ÂRafael Avila de Espindola Â<espindola@google.com>
>>
>> Â Â Â Â* c-decl.c (merge_decls): Make sure newdecl and olddecl don't
>> Â Â Â Âshare the argument list.

OK.

Remember if there was a new test in the testsuite for this? (that
didn't use lto, of course).


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]