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: [patch] tree-cfg.c: Check that a nonlocal label doesn't appear in the middle of a basic block. (Take 2)


On Thu, Jan 20, 2005 at 05:09:06PM -0500, Kazu Hirata wrote:
> ! 	  if (prev_stmt && DECL_NONLOCAL (LABEL_EXPR_LABEL (stmt)))
> ! 	    {
> ! 	      error ("Nonlocal label %s in the middle of basic block bb %d",

"In the middle" is a bit of a misnomer, since we'd normally expect
all of the labels to be at the same location, that is, the start.

But otherwise ok.


r~


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