https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70733
Bug 70733 depends on bug 95009, which changed state.
Bug 95009 Summary: [9/10 Regression] decltype of increment or decrement
bitfield expressions are wrong and causes assembler errors.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95009
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70733
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed|2016-06-16 00:00:00 |2021-12-2
--- Comment #6 from Andrew Pin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70733
Jason Merrill changed:
What|Removed |Added
Status|RESOLVED|NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70733
--- Comment #4 from joseph at codesourcery dot com ---
This bug report is for C++, where bit-field width is explicitly not part
of the type and bit-field types wider than int are not extensions, not for
C, where there is a line of C90 DRs treat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70733
--- Comment #3 from Richard Biener ---
LLVM does effectively
int main() {
b.member.member = 4;
a = -(unsigned long)b.member.member;
if (a != -4)
abort();
and if you write that then GCC behavior agrees with that of LLVM.