http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53277

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #13 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-05-09 
13:34:15 UTC ---
(In reply to comment #12)
> (In reply to comment #10)
> > This is PR51294.
> 
> Looks different. Here the compiler complains about casting 0 to size_t.

No, it is not. GCC gives a very different message for implicit constant
conversions. 

Looking in more detail, I think the problem may be ((void)s, 0), which is not
recognized as a constant by Wconversion.

> > And there is PR52617.
> 
> That one is not a bug, unless you want to do the opposite of what the OP asked
> and use constant propagation to remove the current warning as well.

You are right. Closed.

Reply via email to