https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109673
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So __wur is defined based on if there are optimizations turned on or not based
on if you also define _FORTIFY_SOURCE (ubuntu compilers default to defining
_FORTIFY_SOURCE).
So from a GCC point of view, this is not a GCC bug.