This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: newbie: labels headache
- To: Alexander Kjeldaas <astor at guardian dot no>
- Subject: Re: newbie: labels headache
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 19 Oct 1998 19:48:34 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
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