https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98070
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot
gnu.org
Summary|errno is not re-evaluated |[11 Regression] errno is
|after clearing errno and |not re-evaluated after
|calling realloc(ptr, |clearing errno and calling
|SIZE_MAX) |realloc(ptr, SIZE_MAX)
Target Milestone|--- |11.0
CC| |hubicka at gcc dot gnu.org
Ever confirmed|0 |1
Last reconfirmed| |2020-12-01
Keywords| |wrong-code
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Likely caused by
/* Realloc serves both as allocation point and deallocation point. */
case BUILT_IN_REALLOC:
return ".cw ";
which should be ".Cw "