From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 89CEF3861881; Thu, 15 Apr 2021 14:12:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 89CEF3861881 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/100067] Unexpected warning for -mcpu=neoverse-n1 when configured with --with-fpu Date: Thu, 15 Apr 2021 14:12:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rearnsha at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2021 14:12:14 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100067 --- Comment #5 from Christophe Lyon --- (In reply to Richard Earnshaw from comment #4) > (In reply to Christophe Lyon from comment #3) > > Unfortunately this is causing many regressions in the GCC testsuite. >=20 > Sigh! I'm not entirely surprised. I suspect most of this is testisms, > though. >=20 :-) Yes, probably. > > --target arm-none-linux-gnueabi > > --with-mode arm > > --with-cpu cortex-a9 > > --with-fpu default > > Dejagnu flags: -march=3Darmv5t > > gcc.target/arm/aes-fuse-1.c is compiled with > >=20 > > -march=3Darmv5t -mfpu=3Dcrypto-neon-fp-armv8 -mfloat-abi=3Dsoftfp -mcpu= =3Dcortex-a72 > > cc1: warning: switch '-mcpu=3Dcortex-a72' conflicts with switch '-march= =3Darmv5t' >=20 > The warning is correct. That's a stupid combination to pass to the compi= ler > (arch=3Darmv5 and cpu=3D). What's less clear is why this wasn't > happening before. Indeed. I just checked the command line was the same before your patch (i.e. your patch has no impact on the effective-targets that could change the fla= gs used) FTR, even before your patch there were several such annoying warnings.=