https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120979
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Also as I mentioned xstrdup is not linked at all to the normal strdup (it is a wrapper around strdup which will error out [and exit] if strdup returns NULL).