This is the mail archive of the gcc@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]

Re: `shorten_branches' and length of `asm' without operands



  In message <199912111730.UAA02404@tigris.overta.ru>you write:
  > Hello All.
  > 
  > While I'm play with my port (Atmel AVR) I have founded a strange thing
  > in final.c shorten_branches () 
  > 
  > shorten_branches don't calculate insn length if insn is a `asm'
  > without operands.
  > 
  > Is this a bug ?
  > Or I must calculate `asm' insn length inside ADJUST_INSN_LENGTH ?
  > 
  > As I understand `get_attr_length' calculates `asm' insn length properly.
  > 
  > 
  > Patch for correct final.c:
Thanks.  Please don't forget to include ChangeLog entries in your future
patch submissions.

I've installed this patch.

Thanks,
jeff


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