[Bug c++/61414] enum class bitfield size-checking failure

2017-10-16 Thread sam at segfault dot party
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 Sam van Kampen changed: What|Removed |Added CC||sam at segfault dot party --- Comment

[Bug c++/61414] enum class bitfield size-checking failure

2017-10-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 --- Comment #12 from Jonathan Wakely --- (In reply to eric-bugs from comment #9) > This does not seem like correct behavior to me either. The warning should be > based on the maximum declared enum value, not the maximum possible value > held by

[Bug c++/61414] enum class bitfield size-checking failure

2017-09-09 Thread erik.rainey at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 Erik Rainey changed: What|Removed |Added CC||erik.rainey at gmail dot com --- Comment

[Bug c++/61414] enum class bitfield size-checking failure

2017-07-24 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 --- Comment #10 from Tom Tromey --- I ran into this again, went to file a bug, and then found that I'd already filed the bug...

[Bug c++/61414] enum class bitfield size-checking failure

2017-06-28 Thread eric-bugs at omnifarious dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 eric-bugs at omnifarious dot org changed: What|Removed |Added CC||eric-bugs at

[Bug c++/61414] enum class bitfield size-checking failure

2016-10-27 Thread matt at godbolt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 Matt Godbolt changed: What|Removed |Added CC||matt at godbolt dot org --- Comment #8

[Bug c++/61414] enum class bitfield size-checking failure

2016-09-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic

[Bug c++/61414] enum class bitfield size-checking failure

2016-09-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 --- Comment #6 from Jonathan Wakely --- (In reply to Xidorn Quan from comment #5) > It seems G++ always throw that warning for enum class as bitfield, even when > the enum class is actually empty: > > enum class K {}; > > struct S { > > K v :

[Bug c++/61414] enum class bitfield size-checking failure

2016-03-09 Thread quanxunzhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 Xidorn Quan changed: What|Removed |Added CC||quanxunzhen at gmail dot com --- Comment

[Bug c++/61414] enum class bitfield size-checking failure

2014-12-11 Thread pavel.revak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 Pavel Revak pavel.revak at gmail dot com changed: What|Removed |Added CC||pavel.revak at

[Bug c++/61414] enum class bitfield size-checking failure

2014-06-04 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 --- Comment #1 from Tom Tromey tromey at gcc dot gnu.org --- Jonathan pointed out that this is not really a bug because an enumeration with a fixed underlying type has a different definition of its underlying values. However, the bug still

[Bug c++/61414] enum class bitfield size-checking failure

2014-06-04 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|

[Bug c++/61414] enum class bitfield size-checking failure

2014-06-04 Thread tromey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 --- Comment #3 from Tom Tromey tromey at gcc dot gnu.org --- (In reply to Daniel Krügler from comment #2) (In reply to Tom Tromey from comment #1) However, the bug still exists if the underlying type is not fixed: enum class K { V =