Re: [PATCH 10/11] aarch64: Refactor aarch64_rewrite_mcpu

2025-01-16 Thread Richard Sandiford
Andrew Carlotti writes: > Use aarch64_validate_cpu instead of the existing duplicate (and worse) > version of the -mcpu parsing code. > > The original code used fatal_error; I'm guessing that using error > instead should be ok. > > gcc/ChangeLog: > > * common/config/aarch64/aarch64-common.cc

[PATCH 10/11] aarch64: Refactor aarch64_rewrite_mcpu

2025-01-10 Thread Andrew Carlotti
Use aarch64_validate_cpu instead of the existing duplicate (and worse) version of the -mcpu parsing code. The original code used fatal_error; I'm guessing that using error instead should be ok. gcc/ChangeLog: * common/config/aarch64/aarch64-common.cc (aarch64_rewrite_selected_cpu