This is the mail archive of the gcc-patches@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: loop.c fix


>   > 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


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