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: [patch] fix c++/18016 - warn about self-initialization in constructor init-list


On 21 December 2010 17:11, Jonathan Wakely wrote:
> On 21 December 2010 17:04, Paolo Carlini wrote:
>> Hi,
>>
>> + ?if (warn_uninitialized && init && init != NULL_TREE
>>
>> I think the last check in this line is redundant.
>
> Thanks, Paolo. I should have checked the definition of NULL_TREE.
>
> I'm re-testing with that change, but it shouldn't affect the results.

Updated patch, tested x86_64-linux

Attachment: 18016-2.txt
Description: Text document


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