https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119268

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Antoni from comment #0)
> host_detect_local_cpu is called in gcc/config/i386/i386-jit.cc and the
> result is sent directly to a std::string, so if the result is NULL, this
> will throw an exception.

N.B. this is a GCC extension. In standard C++ it's just undefined to construct
a std::string with a null pointer.

Reply via email to