http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59587
--- Comment #4 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Wed Jan 8 19:54:29 2014 New Revision: 206442 URL: http://gcc.gnu.org/viewcvs?rev=206442&root=gcc&view=rev Log: Remove target_cpu_default/cpu_names Add processor names to processor_target_table and use it instead of target_cpu_default and cpu_names. Backport from mainline PR target/59587 * config/i386/i386.c (struct ptt): Add a field for processor name. (processor_target_table): Sync with processor_type. Add processor names. (cpu_names): Removed. (ix86_option_override_internal): Default x_ix86_tune_string to processor_target_table[TARGET_CPU_DEFAULT].name. (ix86_function_specific_print): Assert arch and tune < PROCESSOR_max. Use processor_target_table to print arch and tune names. * config/i386/i386.h (TARGET_CPU_DEFAULT): Default to PROCESSOR_GENERIC32. (target_cpu_default): Removed. (processor_type): Reordered. Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/config/i386/i386.c branches/gcc-4_8-branch/gcc/config/i386/i386.h