[Bug libstdc++/92798] -fshort-enums can break iterators of std::map

2019-12-04 Thread fc9vqetne38 at temp dot mailbox.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92798 --- Comment #2 from Christian N --- To be honest, I'm not sure when and why it came to be. The build instructions are partially from an old project and weren't cleaned properly. The immediate code base actually only uses scoped enums. The problem

[Bug libstdc++/92798] New: -fshort-enums can break iterators of std::map

2019-12-04 Thread fc9vqetne38 at temp dot mailbox.org
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: fc9vqetne38 at temp dot mailbox.org Target Milestone: --- Hi, I'm having problems with iterators of std::map when -fshort-enums is enabled. It somehow depends on the combination of compiler, stdlib and optimiza