[Bug c++/107813] Enum with underlying type uint8_t bad promotion for unsigned char

2022-11-25 Thread gdrzewo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107813 --- Comment #3 from Grzegorz Drzewiecki --- (In reply to Jonathan Wakely from comment #1) > When you call this->o << t then there is no exact match, so an implicit > conversion to unsigned char happens. OK. But what botter me. I've added global

[Bug c++/107813] New: Enum with underlying type uint8_t bad promotion for unsigned char

2022-11-22 Thread gdrzewo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107813 Bug ID: 107813 Summary: Enum with underlying type uint8_t bad promotion for unsigned char Product: gcc Version: og10 (devel/omp/gcc-10) Status: UNCONFIRMED Sev