Hello! Attached patch fixes the buggy part of PR67310, where VIA CPU is detected incorrectly, and: "-march=core2 -mtune=i386" is passed from the driver to the compiler. The patched driver now emits "-march=core2 -mtune=generic", since the driver handles VIA target through "Use something reasonable" part, as there are no entries for VIA CPUs in processor alias tables. This will be added in a follow-up patch. 2016-06-01 Uros Bizjak Jocelyn Mayer PR target/67310 * config/i386/driver-i386.c (host_detect_local_cpu): Correctly detect processor family for signature_CENTAUR_ebx. : Pass c3, winchip2 or winchip-c6 for signature_CENTAUR_ebx. : Pass c3-2 for signature_CENTAUR_ebx. : Pass x86-64 for has_longmode. Patch was bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. The patch was also tested by Jocelyn on VIA target. Patch was committed to mainline SVN. Since attached patch fixes a bug, it will be backported after a week or so without problems to other release branches. Uros.