bitfield initializers not truncated
Brought to you by:
wenjunw
struct { int bf : 2; } xyz = { 7 };
produces
xyz: .long 7
---
seems like it should flag it as an error, i'm not sure.
but gcc accepts it and truncates it, so maybe either don't accept it at all, or truncate it like gcc.
patch attached.
patch