newbie: labels headache

Jeffrey A Law law@cygnus.com
Mon Oct 19 20:14:00 GMT 1998


  In message < 19981016022955.A22400@lucifer.guardian.no >you write:
  > Hi, I've tried to rewrite the StackGuard patch for egcs but when I
  > compile the program with -O2, the label guarding the 'call abort'
  > instruction is removed, which makes the assembler complain.  I'd be
  > happy if someone could clue me in about my wrongdoings in the
  > following. This is my first gcc hack so please be gentle :-).
Try setting LABEL_NUSES to the number of insns which use the value.  It
looks like the right value ought to be 1.

Jeff



More information about the Gcc mailing list