http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58319
Manuel López-Ibáñez changed:
What|Removed |Added
CC||manu at gcc dot gnu.org
--- Comment
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58319
--- Comment #3 from Jonathan Wakely ---
You can ensure the value is not too large for the target:
X x = { .field = ( u & (-1u >> 1) ) };
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58319
--- Comment #2 from Pawel Sikora ---
(In reply to Paolo Carlini from comment #1)
> Your cast does nothing, because your typeof (or decltype) is just unsigned
> int. Given that, the warning makes sense to me and certainly is well known.
so how can
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58319
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---