[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [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 () gcc ! gnu ! org>
Date:       2014-10-31 11:52:56
Message-ID: bug-63656-4-ihUBdumRA5 () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic