[Bug c++/84516] bitfield temporaries > 32-bits have wrong type

2018-02-22 Thread gnu at mllr dot cc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84516 --- Comment #1 from Greg Miller --- The issue is not related to iostream. So, here's perhaps a simpler reproduction example that may focus more on the issue at hand. Link: https://godbolt.org/g/vA2rPN struct A { long x : 32; long y :

[Bug c++/84516] New: bitfield temporaries > 32-bits have wrong type

2018-02-22 Thread gnu at mllr dot cc
ent: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gnu at mllr dot cc Target Milestone: --- (Disclaimer: I'm not a compiler guy, so I may accidentally use the wrong terminology) Example: https://godbolt.org/g/brhTMw #include struct A { long x : 32; long y :