This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/63656] a-tags.adb:82:04: warning: types for unchecked conversion have different sizes
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 31 Oct 2014 11:52:56 +0000
- Subject: [Bug ada/63656] a-tags.adb:82:04: warning: types for unchecked conversion have different sizes
- Auto-submitted: auto-generated
- References: <bug-63656-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63656
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-10-31
CC| |ebotcazou at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Found similar bug #56030. It wasn't fixed because "X32 isn't usable for
> Ada." but regular x86 32bit are usable (I assume).
Bold assumption... you need do something along the lines of PR ada/56030, i.e.
modify ada/gcc-interface/Makefile.in
# Make arch match the current multilib so that the RTS selection code
# picks up the right files. For a given target this must be coherent
# with MULTILIB_DIRNAMES defined in gcc/config/target/t-*.
ifeq ($(strip $(filter-out %x86_64, $(target_cpu))),)
ifeq ($(strip $(MULTISUBDIR)),/32)
target_cpu:=i686
else
ifeq ($(strip $(MULTISUBDIR)),/x32)
target_cpu:=x32
endif
endif
endif
so that target_cpu:=i686 is selected, see $(builddir)/gcc/multilib.h.