From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BB1153858D38; Mon, 3 Oct 2022 08:10:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB1153858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664784648; bh=sVjhrYgUjazB3s/w+5ZeuMKAg67D/b/om8g4OY1/LBw=; h=From:To:Subject:Date:From; b=SmlvHU3z3dFBg6UgxjIKMVTuKBRSVQfCVXLteU9Ss8CLimgJiQCQh90ufzWtd8cH5 vgUcTy6ySdNMT9jU35f8+rhpQx+JH5qkEQEvTbk0IiRDdW6/676xCnWnKPsvQhVbzd j5dLlzc+qLMDY+ySZsplFZh07O7zcqMbk4gK+UR8= From: "malat at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107128] New: armhf: floatn-common.h:214:9: error: multiple types in one declaration Date: Mon, 03 Oct 2022 08:10:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: malat at debian dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107128 Bug ID: 107128 Summary: armhf: floatn-common.h:214:9: error: multiple types in one declaration Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: malat at debian dot org Target Milestone: --- Steps: % cat p.cxx #include int main() { return 0; } Lead to: % /usr/lib/gcc-snapshot/bin/g++ -v p.cxx Using built-in specs. COLLECT_GCC=3D/usr/lib/gcc-snapshot/bin/g++ COLLECT_LTO_WRAPPER=3D/usr/lib/gcc-snapshot/libexec/gcc/arm-linux-gnueabihf= /13/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v --with-pkgversion=3D'Debian 20221001-1' --with-bugurl=3Dfile:///usr/share/doc/gcc-snapshot/README.Bugs --enable-languages=3Dc,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=3D/usr/lib/gcc-snapshot --with-gcc-major-version-only --program-pr= efix=3D --enable-shared --enable-linker-build-id --disable-nls --enable-clocale=3Dg= nu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-lib= itm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --enable-libphobos-checking=3Drelease --with-target-system-zlib=3Dauto --enable-objc-gc=3Dauto --enable-multiarch --disable-sjlj-exceptions --with-arch=3Darmv7-a+fp --with-float=3Dhard --with-mode=3Dthumb --disable-werror --enable-checking=3Dyes --build=3Darm-linux-gnueabihf --host=3Darm-linux-gnueabihf --target=3Darm-linux-gnueabihf Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20221001 (experimental) [master r13-3010-g2555071c954] (Debian 20221001-1) COLLECT_GCC_OPTIONS=3D'-v' '-shared-libgcc' '-mfloat-abi=3Dhard' '-mtls-dialect=3Dgnu' '-mthumb' '-mlibarch=3Darmv7-a+fp' '-march=3Darmv7-a+= fp' '-dumpdir' 'a-' /usr/lib/gcc-snapshot/libexec/gcc/arm-linux-gnueabihf/13/cc1plus -quiet -v -imultilib . -imultiarch arm-linux-gnueabihf -D_GNU_SOURCE p.cxx -quiet -dumpdir a- -dumpbase p.cxx -dumpbase-ext .cxx -mfloat-abi=3Dhard -mtls-dialect=3Dgnu -mthumb -mlibarch=3Darmv7-a+fp -march=3Darmv7-a+fp -ver= sion -o /tmp/ccjKJPO9.s GNU C++17 (Debian 20221001-1) version 13.0.0 20221001 (experimental) [master r13-3010-g2555071c954] (arm-linux-gnueabihf) compiled by GNU C version 13.0.0 20221001 (experimental) [master r13-3010-g2555071c954], GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.25-GMP GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 ignoring nonexistent directory "/usr/local/include/arm-linux-gnueabihf" ignoring nonexistent directory "/usr/lib/gcc-snapshot/lib/gcc/arm-linux-gnueabihf/13/include-fixed/arm-lin= ux-gnueabihf" ignoring nonexistent directory "/usr/lib/gcc-snapshot/lib/gcc/arm-linux-gnueabihf/13/include-fixed" ignoring nonexistent directory "/usr/lib/gcc-snapshot/lib/gcc/arm-linux-gnueabihf/13/../../../../arm-linux= -gnueabihf/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc-snapshot/lib/gcc/arm-linux-gnueabihf/13/../../../../include/c+= +/13 /usr/lib/gcc-snapshot/lib/gcc/arm-linux-gnueabihf/13/../../../../include/c+= +/13/arm-linux-gnueabihf/. /usr/lib/gcc-snapshot/lib/gcc/arm-linux-gnueabihf/13/../../../../include/c+= +/13/backward /usr/lib/gcc-snapshot/lib/gcc/arm-linux-gnueabihf/13/include /usr/local/include /usr/lib/gcc-snapshot/include /usr/include/arm-linux-gnueabihf /usr/include End of search list. GNU C++17 (Debian 20221001-1) version 13.0.0 20221001 (experimental) [master r13-3010-g2555071c954] (arm-linux-gnueabihf) compiled by GNU C version 13.0.0 20221001 (experimental) [master r13-3010-g2555071c954], GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.25-GMP GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 Compiler executable checksum: b7ab5fecab0bff7040c765f74b83b0c1 In file included from /usr/include/arm-linux-gnueabihf/bits/floatn.h:52, from /usr/include/stdio.h:430, from p.cxx:1: /usr/include/arm-linux-gnueabihf/bits/floatn-common.h:214:9: error: multiple types in one declaration 214 | typedef float _Float32; | ^~~~~ /usr/include/arm-linux-gnueabihf/bits/floatn-common.h:214:15: error: declaration does not declare anything [-fpermissive] 214 | typedef float _Float32; | ^~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/floatn-common.h:238:14: error: multip= le types in one declaration 238 | typedef long double _Float64; | ^~~~~~ /usr/include/arm-linux-gnueabihf/bits/floatn-common.h:238:21: error: declaration does not declare anything [-fpermissive] 238 | typedef long double _Float64; | ^~~~~~~~ /usr/include/arm-linux-gnueabihf/bits/floatn-common.h:268:9: error: multiple types in one declaration 268 | typedef double _Float32x; | ^~~~~~ /usr/include/arm-linux-gnueabihf/bits/floatn-common.h:268:16: error: declaration does not declare anything [-fpermissive] 268 | typedef double _Float32x; | ^~~~~~~~~=