[Bug c/53277] Warning using -Wconversion and -Ox in gcc 4.5, 4.6 and 4.7 but not in previous releases

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 9 13:12:00 GMT 2012


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

--- Comment #12 from Marc Glisse <glisse at gcc dot gnu.org> 2012-05-09 13:11:01 UTC ---
(In reply to comment #10)
> This is PR51294.

Looks different. Here the compiler complains about casting 0 to size_t.

> 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.



More information about the Gcc-bugs mailing list