https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108585
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2023-01-28 Status|UNCONFIRMED |NEW Component|c++ |target Target| |x86_64-linux-gnu --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- aarch64 produces the same code generation for both std::byte and char so this is a target issue. Confirmed. std::byte: arr = {}; vs char: arr = "";