This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [3.3/mainline] Fix PR/11640
- From: Segher Boessenkool <segher at koffie dot nl>
- To: Josef Zlomek <zlomj9am at artax dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 11 Sep 2003 22:03:09 +0200
- Subject: Re: [3.3/mainline] Fix PR/11640
- References: <20030910142243.GA19495@artax.karlin.mff.cuni.cz>
Josef Zlomek wrote:
barrier = next_nonnote_insn (src->end);
if (!barrier || GET_CODE (barrier) != BARRIER)
emit_barrier_after (src->end);
+ else
+ {
+ if (barrier != NEXT_INSN (src->end))
+ {
+ /* There is not a BARRIER directly after SRC->END so move
+ the BARRIER there. */
+ emit_barrier_after (src->end);
+ delete_insn (barrier);
+ }
+ }
}
But this still keeps the NOTE_INSN_DELETED_LABEL around,
after the barrier, although there are no more references
to it. Is that okay? Not that it'll break anything;
it just seems untidy.
Segher