This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: loop.c fix
- To: law at cygnus dot com
- Subject: Re: loop.c fix
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Sun, 7 Feb 1999 03:00:44 +0000 (GMT)
- Cc: egcs-patches at cygnus dot com, gcc-local at cygnus dot com
> > Not if there is another label after the cont note.
> No, because we clear not_every_iteration at the cont note too.
But that's to late for some givs. Here is the constellation that is
vulnerable:
NOTE_INSN_LOOP_START
...
condjump to label1
...
giv
...
label1
...
NOTE_INSN_LOOP_CONT
...
condjump to label2
...
label2
...
NOTE_INSN_LOOP_END