[Bug c++/70733] Wrong code with nested structs and bit field.

2021-12-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/70733] Wrong code with nested structs and bit field.

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/70733] Wrong code with nested structs and bit field.

2016-06-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70733 Jason Merrill changed: What|Removed |Added Status|RESOLVED|NEW Last reconfirmed|

[Bug c++/70733] Wrong code with nested structs and bit field.

2016-04-22 Thread joseph at codesourcery dot com
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

[Bug c++/70733] Wrong code with nested structs and bit field.

2016-04-20 Thread rguenth at gcc dot gnu.org
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.