public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/100419] New: Arm: arm_mve.h generates warning when compiled with -Wsystem-headers.
@ 2021-05-04 15:19 sripar01 at gcc dot gnu.org
2021-05-05 10:10 ` [Bug target/100419] " sripar01 at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: sripar01 at gcc dot gnu.org @ 2021-05-04 15:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100419
Bug ID: 100419
Summary: Arm: arm_mve.h generates warning when compiled with
-Wsystem-headers.
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: sripar01 at gcc dot gnu.org
Target Milestone: ---
Host: x86_64
Target: arm
On compiling following testcase using -Wsystem-headers options, generates lot
of warnings related to redefined macros in header file "arm_mve.h"
$ cat bug.c
#include "arm_mve.h"
$arm-none-eabi-gcc -mcpu=cortex-m55+nofp -mfloat-abi=hard bug.c
-Wsystem-headers -c
In file included from bug.c:1:
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:38868:
warning: "__arm_vcmpneq" redefined
38868 | #define __arm_vcmpneq(p0,p1) ({ __typeof(p0) __p0 = (p0); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:38416:
note: this is the location of the previous definition
38416 | #define __arm_vcmpneq(p0,p1) ({ __typeof(p0) __p0 = (p0); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:39990:
warning: "__arm_vstrwq_scatter_offset_p" redefined
39990 | #define __arm_vstrwq_scatter_offset_p(p0,p1,p2,p3) ({ __typeof(p1) __p1
= (p1); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:39984:
note: this is the location of the previous definition
39984 | #define __arm_vstrwq_scatter_offset_p(p0,p1,p2,p3) ({ __typeof(p1) __p1
= (p1); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:41625:
warning: "__arm_vmaxq_x" redefined
41625 | #define __arm_vmaxq_x(p1,p2,p3) ({ __typeof(p1) __p1 = (p1); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:40157:
note: this is the location of the previous definition
40157 | #define __arm_vmaxq_x(p1,p2,p3) ({ __typeof(p1) __p1 = (p1); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:41807:
warning: "__arm_vmlsdavaq" redefined
41807 | #define __arm_vmlsdavaq(p0,p1,p2) ({ __typeof(p0) __p0 = (p0); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:39402:
note: this is the location of the previous definition
39402 | #define __arm_vmlsdavaq(p0,p1,p2) ({ __typeof(p0) __p0 = (p0); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:41815:
warning: "__arm_vmlsdavaxq" redefined
41815 | #define __arm_vmlsdavaxq(p0,p1,p2) ({ __typeof(p0) __p0 = (p0); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:39394:
note: this is the location of the previous definition
39394 | #define __arm_vmlsdavaxq(p0,p1,p2) ({ __typeof(p0) __p0 = (p0); \
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:41830:
warning: "__arm_vmlsdavq_p" redefined
41830 | #define __arm_vmlsdavq_p(p0,p1,p2) ({ __typeof(p0) __p0 = (p0); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:39384:
note: this is the location of the previous definition
39384 | #define __arm_vmlsdavq_p(p0,p1,p2) ({ __typeof(p0) __p0 = (p0); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:41844:
warning: "__arm_vmlsdavxq_p" redefined
41844 | #define __arm_vmlsdavxq_p(p0,p1,p2) ({ __typeof(p0) __p0 = (p0); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:39374:
note: this is the location of the previous definition
39374 | #define __arm_vmlsdavxq_p(p0,p1,p2) ({ __typeof(p0) __p0 = (p0); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:41945:
warning: "__arm_vrmlaldavhaq" redefined
41945 | #define __arm_vrmlaldavhaq(p0,p1,p2) ({ __typeof(p0) __p0 = (p0); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:39364:
note: this is the location of the previous definition
39364 | #define __arm_vrmlaldavhaq(p0,p1,p2) ({ __typeof(p0) __p0 = (p0); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:41991:
warning: "__arm_vstrbq_p" redefined
41991 | #define __arm_vstrbq_p(p0,p1,p2) ({ __typeof(p1) __p1 = (p1); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:39742:
note: this is the location of the previous definition
39742 | #define __arm_vstrbq_p(p0,p1,p2) ({ __typeof(p0) __p0 = (p0); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:42000:
warning: "__arm_vstrbq_scatter_offset" redefined
42000 | #define __arm_vstrbq_scatter_offset(p0,p1,p2) ({ __typeof(p1) __p1 =
(p1); \
|
/media/sripar01/2tb_work/embedded_toolchain/gcc-arm-none-eabi-10-2020-q4-major/lib/gcc/arm-none-eabi/10.2.1/include/arm_mve.h:39717:
note: this is the location of the previous definition
39717 | #define __arm_vstrbq_scatter_offset(p0,p1,p2) ({ __typeof(p0) __p0 =
(p0); \
...
$arm-none-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=/arm/pdtl/builds/latest-fsf-trunk/installed/cen7x86_64/arm-none-eabi/bin/arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/arm/pdtl/builds/fsf-trunk.2464/installed/cen7x86_64/arm-none-eabi/bin/../libexec/gcc/arm-none-eabi/12.0.0/lto-wrapper
Target: arm-none-eabi
Configured with:
/data/dgboter/bbs/build21--cen7x86_64/buildbot/cen7x86_64--arm-none-eabi--all-profiles/build/src/gcc/configure
--target=arm-none-eabi
--prefix=/data/dgboter/bbs/build21--cen7x86_64/buildbot/cen7x86_64--arm-none-eabi--all-profiles/build/build-arm-none-eabi/install//
--with-gmp=/data/dgboter/bbs/build21--cen7x86_64/buildbot/cen7x86_64--arm-none-eabi--all-profiles/build/build-arm-none-eabi/host-tools
--with-mpfr=/data/dgboter/bbs/build21--cen7x86_64/buildbot/cen7x86_64--arm-none-eabi--all-profiles/build/build-arm-none-eabi/host-tools
--with-mpc=/data/dgboter/bbs/build21--cen7x86_64/buildbot/cen7x86_64--arm-none-eabi--all-profiles/build/build-arm-none-eabi/host-tools
--with-isl=/data/dgboter/bbs/build21--cen7x86_64/buildbot/cen7x86_64--arm-none-eabi--all-profiles/build/build-arm-none-eabi/host-tools
--disable-shared --disable-nls --disable-threads --disable-tls
--enable-checking=yes --enable-languages=c,c++,fortran --with-newlib
--with-multilib-list=aprofile,rmprofile --with-pkgversion=fsf-trunk.2464
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 12.0.0 20210426 (experimental)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/100419] Arm: arm_mve.h generates warning when compiled with -Wsystem-headers.
2021-05-04 15:19 [Bug c/100419] New: Arm: arm_mve.h generates warning when compiled with -Wsystem-headers sripar01 at gcc dot gnu.org
@ 2021-05-05 10:10 ` sripar01 at gcc dot gnu.org
2021-05-11 9:49 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: sripar01 at gcc dot gnu.org @ 2021-05-05 10:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100419
SRINATH PARVATHANENI <sripar01 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Last reconfirmed| |2021-05-05
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/100419] Arm: arm_mve.h generates warning when compiled with -Wsystem-headers.
2021-05-04 15:19 [Bug c/100419] New: Arm: arm_mve.h generates warning when compiled with -Wsystem-headers sripar01 at gcc dot gnu.org
2021-05-05 10:10 ` [Bug target/100419] " sripar01 at gcc dot gnu.org
@ 2021-05-11 9:49 ` cvs-commit at gcc dot gnu.org
2021-05-13 16:20 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-11 9:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100419
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by SRINATH PARVATHANENI
<sripar01@gcc.gnu.org>:
https://gcc.gnu.org/g:9b905ba9ebba8d2cc805c26351225e7f74c02333
commit r12-711-g9b905ba9ebba8d2cc805c26351225e7f74c02333
Author: Srinath Parvathaneni <srinath.parvathaneni@arm.com>
Date: Tue May 11 10:43:11 2021 +0100
arm: Remove duplicate definitions from arm_mve.h (pr100419).
This patch removes several duplicated intrinsic definitions from
arm_mve.h mentioned in PR100419 and also fixes the wrong arguments
in few of intrinsics polymorphic variants.
gcc/ChangeLog:
2021-05-04 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/100419
* config/arm/arm_mve.h (__arm_vstrwq_scatter_offset): Fix wrong
arguments.
(__arm_vcmpneq): Remove duplicate definition.
(__arm_vstrwq_scatter_offset_p): Likewise.
(__arm_vmaxq_x): Likewise.
(__arm_vmlsdavaq): Likewise.
(__arm_vmlsdavaxq): Likewise.
(__arm_vmlsdavq_p): Likewise.
(__arm_vmlsdavxq_p): Likewise.
(__arm_vrmlaldavhaq): Likewise.
(__arm_vstrbq_p): Likewise.
(__arm_vstrbq_scatter_offset): Likewise.
(__arm_vstrbq_scatter_offset_p): Likewise.
(__arm_vstrdq_scatter_offset): Likewise.
(__arm_vstrdq_scatter_offset_p): Likewise.
(__arm_vstrdq_scatter_shifted_offset): Likewise.
(__arm_vstrdq_scatter_shifted_offset_p): Likewise.
Co-authored-by: Joe Ramsay <joe.ramsay@arm.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/100419] Arm: arm_mve.h generates warning when compiled with -Wsystem-headers.
2021-05-04 15:19 [Bug c/100419] New: Arm: arm_mve.h generates warning when compiled with -Wsystem-headers sripar01 at gcc dot gnu.org
2021-05-05 10:10 ` [Bug target/100419] " sripar01 at gcc dot gnu.org
2021-05-11 9:49 ` cvs-commit at gcc dot gnu.org
@ 2021-05-13 16:20 ` cvs-commit at gcc dot gnu.org
2021-05-13 16:21 ` cvs-commit at gcc dot gnu.org
2021-05-13 16:39 ` sripar01 at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-13 16:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100419
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by SRINATH PARVATHANENI
<sripar01@gcc.gnu.org>:
https://gcc.gnu.org/g:ac5bab25cfd99dd530c8c83992d81e2c88e543d0
commit r11-8409-gac5bab25cfd99dd530c8c83992d81e2c88e543d0
Author: Srinath Parvathaneni <srinath.parvathaneni@arm.com>
Date: Tue May 11 10:43:11 2021 +0100
arm: Remove duplicate definitions from arm_mve.h (pr100419).
This patch removes several duplicated intrinsic definitions from
arm_mve.h mentioned in PR100419 and also fixes the wrong arguments
in few of intrinsics polymorphic variants.
gcc/ChangeLog:
2021-05-04 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/100419
* config/arm/arm_mve.h (__arm_vstrwq_scatter_offset): Fix wrong
arguments.
(__arm_vcmpneq): Remove duplicate definition.
(__arm_vstrwq_scatter_offset_p): Likewise.
(__arm_vmaxq_x): Likewise.
(__arm_vmlsdavaq): Likewise.
(__arm_vmlsdavaxq): Likewise.
(__arm_vmlsdavq_p): Likewise.
(__arm_vmlsdavxq_p): Likewise.
(__arm_vrmlaldavhaq): Likewise.
(__arm_vstrbq_p): Likewise.
(__arm_vstrbq_scatter_offset): Likewise.
(__arm_vstrbq_scatter_offset_p): Likewise.
(__arm_vstrdq_scatter_offset): Likewise.
(__arm_vstrdq_scatter_offset_p): Likewise.
(__arm_vstrdq_scatter_shifted_offset): Likewise.
(__arm_vstrdq_scatter_shifted_offset_p): Likewise.
Co-authored-by: Joe Ramsay <joe.ramsay@arm.com>
(cherry picked from commit 9b905ba9ebba8d2cc805c26351225e7f74c02333)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/100419] Arm: arm_mve.h generates warning when compiled with -Wsystem-headers.
2021-05-04 15:19 [Bug c/100419] New: Arm: arm_mve.h generates warning when compiled with -Wsystem-headers sripar01 at gcc dot gnu.org
` (2 preceding siblings ...)
2021-05-13 16:20 ` cvs-commit at gcc dot gnu.org
@ 2021-05-13 16:21 ` cvs-commit at gcc dot gnu.org
2021-05-13 16:39 ` sripar01 at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-13 16:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100419
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by SRINATH PARVATHANENI
<sripar01@gcc.gnu.org>:
https://gcc.gnu.org/g:788f9c8e0c271bcd38049e1c87cda087f449f655
commit r10-9822-g788f9c8e0c271bcd38049e1c87cda087f449f655
Author: Srinath Parvathaneni <srinath.parvathaneni@arm.com>
Date: Tue May 11 10:43:11 2021 +0100
arm: Remove duplicate definitions from arm_mve.h (pr100419).
This patch removes several duplicated intrinsic definitions from
arm_mve.h mentioned in PR100419 and also fixes the wrong arguments
in few of intrinsics polymorphic variants.
gcc/ChangeLog:
2021-05-04 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/100419
* config/arm/arm_mve.h (__arm_vstrwq_scatter_offset): Fix wrong
arguments.
(__arm_vcmpneq): Remove duplicate definition.
(__arm_vstrwq_scatter_offset_p): Likewise.
(__arm_vmaxq_x): Likewise.
(__arm_vmlsdavaq): Likewise.
(__arm_vmlsdavaxq): Likewise.
(__arm_vmlsdavq_p): Likewise.
(__arm_vmlsdavxq_p): Likewise.
(__arm_vrmlaldavhaq): Likewise.
(__arm_vstrbq_p): Likewise.
(__arm_vstrbq_scatter_offset): Likewise.
(__arm_vstrbq_scatter_offset_p): Likewise.
(__arm_vstrdq_scatter_offset): Likewise.
(__arm_vstrdq_scatter_offset_p): Likewise.
(__arm_vstrdq_scatter_shifted_offset): Likewise.
(__arm_vstrdq_scatter_shifted_offset_p): Likewise.
Co-authored-by: Joe Ramsay <joe.ramsay@arm.com>
(cherry picked from commit 9b905ba9ebba8d2cc805c26351225e7f74c02333)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/100419] Arm: arm_mve.h generates warning when compiled with -Wsystem-headers.
2021-05-04 15:19 [Bug c/100419] New: Arm: arm_mve.h generates warning when compiled with -Wsystem-headers sripar01 at gcc dot gnu.org
` (3 preceding siblings ...)
2021-05-13 16:21 ` cvs-commit at gcc dot gnu.org
@ 2021-05-13 16:39 ` sripar01 at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: sripar01 at gcc dot gnu.org @ 2021-05-13 16:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100419
SRINATH PARVATHANENI <sripar01 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from SRINATH PARVATHANENI <sripar01 at gcc dot gnu.org> ---
Committed to Trunk, gcc-11 and gcc-10.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-05-13 16:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 15:19 [Bug c/100419] New: Arm: arm_mve.h generates warning when compiled with -Wsystem-headers sripar01 at gcc dot gnu.org
2021-05-05 10:10 ` [Bug target/100419] " sripar01 at gcc dot gnu.org
2021-05-11 9:49 ` cvs-commit at gcc dot gnu.org
2021-05-13 16:20 ` cvs-commit at gcc dot gnu.org
2021-05-13 16:21 ` cvs-commit at gcc dot gnu.org
2021-05-13 16:39 ` sripar01 at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).