[Bug c/35635] -Wconversion problematic with bitfields

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

[Bug c/35635] -Wconversion problematic with bitfields

2008-08-13 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-08-13 10:03 --- Subject: Bug 35635 Author: manu Date: Wed Aug 13 10:01:52 2008 New Revision: 139049 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139049 Log: 2008-08-13 Manuel Lopez-Ibanez <[EMAIL PROTECTED]> PR 35

[Bug c/35635] -Wconversion problematic with bitfields

2008-06-08 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2008-06-08 16:50 --- In C++ we have: unit size align 8 symtab 0 alias set -1 canonical type 0x2b4fb9c0 precision 1 min max > In C we have: unit size align 32 symtab 0 alias set -1 canonical type

[Bug c/35635] -Wconversion problematic with bitfields

2008-06-08 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2008-06-08 16:45 --- Confirmed. Notes: foo.x = bar != 0; // only warns in C, not in C++. foo.x = bar != 0 ? 1 : 0; // warning is not a problem of bitfields but for every conditional expression, the following also warns short x = (bar !=