[Bug c/18666] [4.0 Regression] Conversion of floating point into bit-fields

2004-12-23 Thread aoliva at gcc dot gnu dot org
--- Additional Comments From aoliva at gcc dot gnu dot org 2004-12-23 20:25 --- http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_120.html seems to be pretty clear on this matter: the type of the bit-field is informally unsigned int :1, so the conversion invokes undefined behavior per 6

[Bug c/18666] [4.0 Regression] Conversion of floating point into bit-fields

2004-12-02 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-02 13:41 --- Reading comment #1, seems to me that the test is correct but still don't know for sure since it worked differently on 3.4 and before, I am marking as a regression. -- What|Removed