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

            Bug ID: 98595
           Summary: [RISC-V, Ada] a-nallfl.ads:48:13: warning: profile of
                    "Sin" doesn't match the builtin it binds
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sebastian.hu...@embedded-brains.de
  Target Milestone: ---

I am currently unable to build an riscv-rtems6 cross compiler with Ada support
using GCC 11. It works with GCC 10. I am not sure what the error is, the build
stops with:

/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-b87ec92-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc
-B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-b87ec92-newlib-a485393-x86_64-linux-gnu-1
/build/./gcc/ -nostdinc
-B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-b87ec92-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/newlib/
-isystem
/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-b87ec92-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/newlib/targ-include
-isystem
/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-b87ec92-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-b87ec92/newlib/libc/include
-B/opt/rtems/7/riscv-rtems7/bin/ -B/opt/rtems/7/riscv-rtems7/lib/ -isystem
/opt/rtems/7/riscv-rtems7/include -isystem
/opt/rtems/7/riscv-rtems7/sys-include    -c -g -O2   -W -Wall -gnatpg -nostdinc
  a-nallfl.ads -o a-nallfl.o
a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:48:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:48:13: warning: profile of "Sin" doesn't match the builtin it
binds
a-nallfl.ads:51:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:51:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:51:13: warning: profile of "Cos" doesn't match the builtin it
binds
a-nallfl.ads:54:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:54:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:54:13: warning: profile of "Tan" doesn't match the builtin it
binds
a-nallfl.ads:57:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:57:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:57:13: warning: profile of "Exp" doesn't match the builtin it
binds
a-nallfl.ads:60:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:60:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:60:13: warning: profile of "Sqrt" doesn't match the builtin it
binds
a-nallfl.ads:63:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:63:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:63:13: warning: profile of "Log" doesn't match the builtin it
binds
a-nallfl.ads:66:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:66:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:66:13: warning: profile of "Acos" doesn't match the builtin it
binds
a-nallfl.ads:69:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:69:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:69:13: warning: profile of "Asin" doesn't match the builtin it
binds
a-nallfl.ads:72:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:72:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:72:13: warning: profile of "Atan" doesn't match the builtin it
binds
a-nallfl.ads:75:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:75:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:75:13: warning: profile of "Sinh" doesn't match the builtin it
binds
a-nallfl.ads:78:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:78:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:78:13: warning: profile of "Cosh" doesn't match the builtin it
binds
a-nallfl.ads:81:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:81:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:81:13: warning: profile of "Tanh" doesn't match the builtin it
binds
a-nallfl.ads:84:13: warning: intrinsic binding type mismatch on return value
a-nallfl.ads:84:13: warning: intrinsic binding type mismatch on argument 1
a-nallfl.ads:84:13: warning: profile of "Pow" doesn't match the builtin it
binds
make[5]: *** [../gcc-interface/Makefile:302: a-nallfl.o] Error 1

Reply via email to