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 possible uninitialized variable


On 07/14/2010 12:26 PM, Kai Tietz wrote:
> Hi,
>
> ChangeLog
>
> 2010-07-14  Kai Tietz
>
>           * method.c (synthesized_method_walk): Initialize
>           check_vdtor by false.
>
> Tested for i686-pc-linux-gnu, i686-pc-mingw32, and x86_64-pc-mingw32.
> Ok for apply?
>   
Frankly, I do not understand why you are proposing this change: at line
1007 check_vdtor is assigned false and there are no uses whatsoever
before. Everything seems fine, and, by the way, the case of assign_p is
quite similar. Are you seeing spurious warnings during the bootstrap?

Paolo.


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