public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "malat at debian dot org" <gcc-bugzilla@gcc.gnu.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	[thread overview]
Message-ID: <bug-107128-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107128

            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 <stdio.h>

int main() { return 0; }

Lead to:

% /usr/lib/gcc-snapshot/bin/g++ -v p.cxx
Using built-in specs.
COLLECT_GCC=/usr/lib/gcc-snapshot/bin/g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc-snapshot/libexec/gcc/arm-linux-gnueabihf/13/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 20221001-1'
--with-bugurl=file:///usr/share/doc/gcc-snapshot/README.Bugs
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2
--prefix=/usr/lib/gcc-snapshot --with-gcc-major-version-only --program-prefix=
--enable-shared --enable-linker-build-id --disable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm
--disable-libquadmath --disable-libquadmath-support --enable-plugin
--with-system-zlib --enable-libphobos-checking=release
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch
--disable-sjlj-exceptions --with-arch=armv7-a+fp --with-float=hard
--with-mode=thumb --disable-werror --enable-checking=yes
--build=arm-linux-gnueabihf --host=arm-linux-gnueabihf
--target=arm-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='-v' '-shared-libgcc'  '-mfloat-abi=hard'
'-mtls-dialect=gnu' '-mthumb' '-mlibarch=armv7-a+fp' '-march=armv7-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=hard
-mtls-dialect=gnu -mthumb -mlibarch=armv7-a+fp -march=armv7-a+fp -version -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=30 --param ggc-min-heapsize=4096
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-linux-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=30 --param ggc-min-heapsize=4096
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: multiple
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;
      |                ^~~~~~~~~

             reply	other threads:[~2022-10-03  8:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-03  8:10 malat at debian dot org [this message]
2022-10-03  8:27 ` [Bug c++/107128] " pinskia at gcc dot gnu.org
2022-10-03  8:36 ` malat at debian dot org
2022-10-03 10:07 ` malat at debian dot org
2022-10-03 10:14 ` jakub at gcc dot gnu.org
2022-10-06 10:00 ` rguenth at gcc dot gnu.org
2022-11-18  1:56 ` mh+gcc at glandium dot org
2022-11-18  3:02 ` mh+gcc at glandium dot org
2022-11-18  3:07 ` pinskia at gcc dot gnu.org
2022-11-18  7:51 ` jakub at gcc dot gnu.org
2023-03-13 20:16 ` cvs-commit at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-107128-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).