[Bug c/35701] Quieten -Wconversion warnings

2008-08-20 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-08-20 16:11 --- Subject: Bug 35701 Author: manu Date: Wed Aug 20 16:09:45 2008 New Revision: 139329 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=139329 Log: 2008-08-20 Manuel Lopez-Ibanez [EMAIL PROTECTED] PR 35701

[Bug c/35701] Quieten -Wconversion warnings

2008-08-20 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2008-08-20 16:13 --- Fixed in GCC 4.4 -- manu at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c/35701] Quieten -Wconversion warnings

2008-06-08 Thread manu at gcc dot gnu dot org
--- 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.

[Bug c/35701] Quieten -Wconversion warnings

2008-06-08 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2008-06-08 17:32 --- Anyway, this won't work at all until bug 34389 is fixed because fold with convert each operand to the target type before considering the bit_and_expr. -- manu at gcc dot gnu dot org changed: What