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 c++]: Fix warnings in decl2.c


On 30 June 2010 23:28, Jason Merrill <jason@redhat.com> wrote:
> On 06/09/2010 10:53 AM, Kai Tietz wrote:
>>
>> 2010-06-09 ?Kai Tietz
>>
>> ? ? ? ?* decl2.c (min_vis_r):
>> ? ? ? ?(constrain_visibility):
>
> Odd ChangeLog entry :)
>
> I would rather fix these warnings by changing the type of the variable
> itself, but that looks to be complicated in this case, so I guess this patch
> is OK.

Are these valid warnings at all? The fact that we don't warn for this
in recent GCC either suggests that they are not or that we have
regressed in terms of diagnostics.

Manuel.


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