https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128269
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |ktkachov at gcc dot
gnu.org
CC| |ktkachov at gcc dot gnu.org
Status|UNCONFIRMED |ASSIGNED
Summary|wrong code at -O1 and |[14/15/16 Regression] wrong
|above: snprintf "%lc" with |code at -O1 and above:
|a wint_t in [0, 200] is |snprintf "%lc" with a
|assumed not to return a |wint_t in [0, 200] is
|negative value |assumed not to return a
| |negative value
Last reconfirmed| |2026-11-18
Ever confirmed|0 |1
Target Milestone|--- |14.5
--- Comment #5 from ktkachov at gcc dot gnu.org ---
Fixed on GCC 17. Adding regression markers for backports given the known to
fail versions.