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

            Bug ID: 83810
           Summary: sh: s-scaval.adb:103:07: warning: "IV_Ilf" overlays
                    smaller object
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sebastian.hu...@embedded-brains.de
  Target Milestone: ---

Created attachment 43113
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43113&action=edit
Makefile to build the cross GCC

I tried to build an Ada compiler for sh-rtems5. I am not sure if it is worth to
support Ada on this target. I use in mainly to test the compiler build.

/home/sh/b-gcc-sh/./gcc/xgcc -B/home/sh/b-gcc-sh/./gcc/ -nostdinc
-B/home/sh/b-gcc-sh/sh-rtems5/newlib/ -isystem
/home/sh/b-gcc-sh/sh-rtems5/newlib/targ-include -isystem
/home/sh/src/gcc/newlib/libc/include -B/home/sh/install/sh-rtems5/bin/
-B/home/sh/install/sh-rtems5/lib/ -isystem /home/sh/install/sh-rtems5/include
-isystem /home/sh/install/sh-rtems5/sys-include    -c -g -O2 -m4-single-only 
-W -Wall -gnatpg -nostdinc -m4-single-only  s-scaval.adb -o s-scaval.o
s-scaval.adb:103:07: warning: "IV_Ilf" overlays smaller object
s-scaval.adb:103:07: warning: program execution may be erroneous
s-scaval.adb:103:07: warning: size of "IV_Ilf" is 64
s-scaval.adb:103:07: warning: size of "IS_Ilf" is 32
s-scaval.adb:104:07: warning: "IV_Ill" overlays smaller object
s-scaval.adb:104:07: warning: program execution may be erroneous
s-scaval.adb:104:07: warning: size of "IV_Ill" is 96
s-scaval.adb:104:07: warning: size of "IS_Ill" is 64

The attached Makefile can be used to reproduce the build.

make clone
make native
make install/bin/sh-rtems5-ld
make install/bin/sh-rtems5-gcc

Reply via email to