Bug#976024: g++-10 crashes for bitpacked enum class

2020-11-28 Thread Ben Wiederhake
Also happens with gcc-snapshot, so this is definitely an upstream bug. g++ (Debian 20201127-1) 11.0.0 20201127 (experimental) [master revision 3493b0c3281:5c47353bc97:5e9f814d754be790aec5b69a95699a8af2654058] Reported upstream as: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98043 Looks like a ve

Bug#976024: g++-10 crashes for bitpacked enum class

2020-11-28 Thread Ben Wiederhake
Package: g++-10 Version: 10.2.0-16 Severity: normal Tags: upstream Dear Maintainer, * What led up to the situation? Compiling the following code crashes g++-10: // g++-10 -std=c++2a -o /tmp/example.cpp.o -c example.cpp enum class MyEnumClass { A }; struct MyClass { MyEnumCla