[Bug c/23324] unsigned bitfield in struct not passed correctly as argument

lindig at cs dot uni-sb dot de gcc-bugzilla@gcc.gnu.org
Thu Aug 11 08:15:00 GMT 2005


------- Additional Comments From lindig at cs dot uni-sb dot de  2005-08-11 08:15 -------
The bitfield mv7 is actually signed, not unsigned:

struct et7
{
    struct dt7 { float iv7; unsigned short int jv7; } kv7;
    float lv7[0];
    signed mv7:9;
    short int nv7;
    double ov7;
    float pv7;
}
yv7


-- 


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



More information about the Gcc-bugs mailing list