From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 50F293861971; Thu, 15 Apr 2021 13:29:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 50F293861971 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 13:29:39 +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: cc 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 13:29:39 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100067 Christophe Lyon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org --- Comment #3 from Christophe Lyon --- Unfortunately this is causing many regressions in the GCC testsuite. For instance: --target arm-none-linux-gnueabi --with-mode arm --with-cpu cortex-a9 --with-fpu default gcc.target/arm/armv8_2-fp16-neon-1.c is compiled with -mfloat-abi=3Dsoftfp -march=3Darmv8.2-a+fp16 /gcc/testsuite/gcc.target/arm/armv8_2-fp16-neon-1.c: In function 'test_vceqz_16x4': /gcc/testsuite/gcc.target/arm/armv8_2-fp16-neon-1.c:139:13: warning: implic= it declaration of function 'vceqz_f16'; did you mean 'vceqq_u16'? [-Wimplicit-function-declaration] /gcc/testsuite/gcc.target/arm/armv8_2-fp16-neon-1.c:10:25: note: in definit= ion of macro 'MSTRCAT' /gcc/testsuite/gcc.target/arm/armv8_2-fp16-neon-1.c:139:1: note: in expansi= on of macro 'VCMP1_TEST' /gcc/testsuite/gcc.target/arm/armv8_2-fp16-neon-1.c:139:13: error: incompat= ible types when returning type 'int' but 'uint16x4_t' was expected [...] --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 -march=3Darmv5t -mfpu=3Dcrypto-neon-fp-armv8 -mfloat-abi=3Dsoftfp -mcpu=3Dc= ortex-a72 cc1: warning: switch '-mcpu=3Dcortex-a72' conflicts with switch '-march=3Da= rmv5t' FAIL: gcc.target/arm/aes-fuse-1.c (test for excess errors) For a full picture of the regressions I noticed: https://people.linaro.org/~christophe.lyon/cross-validation/gcc/trunk/r11-8= 168-gd1e4368ddb76a92c44f824c8e4ca1a3de8149342/report-build-info.html (click on "log" to download the corresponding gcc.log and see the error messages) (you can ignore the regressions in g++, they are caused by a previous commi= t)=