https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97327
Bug ID: 97327 Summary: -mcpu=cortex-m55 warns without -mfloat-abi=hard or -march=armv8.1-m.main Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- When compiling with -mthumb -mcpu=cortex-m55 I get: cc1: warning: switch '-mcpu=cortex-m55' conflicts with '-march=armv8.1-m.main' switch unless I add -mfloat-abi=hard or -march=armv8.1-m.main which is a bit counter-intuitive.