This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/80389] [7 Regression][ARM] -march=armv8-a and -mcpu=cortex-a57 results in invalid .cpu assembly directive
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Apr 2017 14:27:23 +0000
- Subject: [Bug target/80389] [7 Regression][ARM] -march=armv8-a and -mcpu=cortex-a57 results in invalid .cpu assembly directive
- Auto-submitted: auto-generated
- References: <bug-80389-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80389
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, if there is a conflict between options, the backend should choose after
warning the more important from those unless it wants to error, and then
continue, so either change -march=armv8-a to something else, or change
-mcpu=cortex-a57 to something else (or ignore).