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]
Other format: [Raw text]

Re: [3.3/mainline] Fix PR/11640


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

What do you think about moving the (jump (return)) directly before the
barrier so that the note will be before that jump ?

Josef


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