This is the mail archive of the gcc-bugs@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]

[Bug middle-end/61118] Spurious -Wclobbered warning generated by gcc 4.9.0 for pthread_cleanup_push


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61118

--- Comment #11 from Yuri Gribov <tetra2005 at gmail dot com> ---
(In reply to Tavian Barnes from comment #10)
> > I think it is - __cancel_arg is assigned inside a while loop
> 
> Specifically a do { } while(0); loop, which obviously has only one iteration.

Actually I was talking about surrounding while
((double)future->progress/future->total < progress)...

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