[Bug c/35701] Quieten -Wconversion warnings

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jun 8 17:25:00 GMT 2008



------- Comment #1 from manu at gcc dot gnu dot org  2008-06-08 17:25 -------
Ideally, one could just do:

  msp->small = (unsigned int:1) sm;

Meanwhile, we will need to check that when converting to p bits that the mask
is less than 2^p - 1. I wonder if we already have a function to do that.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-06-08 17:25:11
               date|                            |


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



More information about the Gcc-bugs mailing list