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 c/35701] Quieten -Wconversion warnings



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


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