This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: A very "strange" bug in gcc 2.96



  In message <20000521123156E.mitchell@codesourcery.com>you write:
  > >>>>> "H" == H J Lu <hjl@lucon.org> writes:
  > 
  >     H> There is the ia32 asm ouput from gcc 2.96 with -O2. Please
  >     H> notice that
  > 
  >     H> 	jmp foo
  > 
  >     H> is generated, instead of
  > 
  >     H>         call foo leave ret
  > 
  > This is presumably due to the new sibling call optimization.
  > 
  > Richard, Jeff: I would very much appreciate your comments on this
  > issue.
There was a lot of discussion on this over the weekend.  Anyone care to 
post an exec summary?

My gut feeling is the assembler should be leaving this as a 32bit jump so
that it can be twiddled as necessary at link time.

jeff


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