https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119268
Bug ID: 119268
Summary: Exception thrown when host_detect_local_cpu returns
NULL
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: jit
Assignee: dmalcolm at gcc dot gnu.org
Reporter: antoyo at gcc dot gnu.org
CC: antoyo at gcc dot gnu.org
Target Milestone: ---
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.
Since this code is automatically ran at startup, I suspect the priority to fix
it should be higher. What do you think?
Hopefully, the fix should be easy.