[Bug c/50486] No warning at signed -> unsigned casting

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 22 15:26:00 GMT 2011


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-09-22
                 CC|                            |manu at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-09-22 15:02:46 UTC ---
-1 is converted to 4294967295 very early in the FE, but I don't know why or
where.

I think Wsign-conversion could warn about this. I will confirm it then, but I
am not working on it.



More information about the Gcc-bugs mailing list