This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/36207] [4.4 regression] Ada bootstrap fails in uintp.adb:1595



------- Comment #1 from sam at gcc dot gnu dot org  2008-05-12 12:11 -------
Could you post the disassembly of the previous stage "get_target_char_size"
from targtyps.o? (objdump --source targtyps.o)

On i686-pc-linux-gnu, I get:

Pos
get_target_char_size (void)
{
  14:   55                      push   %ebp
  15:   89 e5                   mov    %esp,%ebp
  return CHAR_TYPE_SIZE;
  17:   b8 08 00 00 00          mov    $0x8,%eax
}
  1c:   5d                      pop    %ebp
  1d:   c3                      ret    

This function is called to initialize Standard_Short_Short_Integer_Size. If
CHAR_TYPE_SIZE is not defined for your target, it defaults to BITS_PER_UNIT
(gigi.h).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36207


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]