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

--- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Created attachment 35815
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35815&action=edit
Hacky work-in-progress fix, using hardcoded calls to host_detect_local_cpu

The attached patch is a hack, in that 
 (A) it assumes host_detect_local_cpu exists, which isn't always the case, 
 (B) it loops through "arch", "cpu", "tune", trying all of them, and appending
any results in order to libgccjit's fake args.

...but it seems to work on x86_64.

Reply via email to