diff --git a/gcc/gcc.cc b/gcc/gcc.cc index 0032735dbfd200c5767c0689b717c4d201af947b..90f6dfe850c70f01197a438c7accab15a58893d7 100644 --- a/gcc/gcc.cc +++ b/gcc/gcc.cc @@ -5800,6 +5800,10 @@ do_self_spec (const char *spec) do_spec_1 (" ", 0, NULL); const char* tune_native = eval_spec_function ("local_cpu_detect", "cpu", ""); + if (tune_native == NULL) + { + tune_native = "native"; + } setenv ("GCC_AI4C_TUNE_INFO", tune_native, 1); /* Mark %