https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95660
Bug ID: 95660 Summary: get_intel_cpu in cpuinfo.c contains unnecessary check for brand_id Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: craig.topper at gmail dot com Target Milestone: --- Brand id or brand index was a feature that briefly existed in some Pentium III and Pentium 4 CPUs. The code will only look at family/model if that field is 0. I believe the CPUs that had brand_id would still have had valid family/model. The brand_id just gives a marketing name for the CPU. I don't think any of the CPUs that have a non-zero brand_id are supported by the switch that its guarding. So this doesn't really matter its just extra code.