This is the mail archive of the gcc@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: new warnings building cp-demangle.c


On Mon, May 18, 2009 at 5:34 PM, Janis Johnson <janis187@us.ibm.com> wrote:
>> The code around line 723 is:
>>
>> Â if (p == NULL
>> Â Â Â || name == NULL
>> Â Â Â || (kind < gnu_v3_complete_object_ctor
>> Â Â Â Â Â && kind > gnu_v3_complete_object_allocating_ctor))
>> Â Â return 0;
>>
>> (and similarly for line 742). ÂA bug?
>
> A much-discussed bug: http://gcc.gnu.org/PR40172

Though this is way different issue from that bug, this code looks wrong.

-- Pinski


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