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 appearin the middle of a basic block. (Take 2)


Hi Richard,

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

How about this?

  "Nonlocal label %s is not at the beginning of basic block bb %d"

Or

  "Nonlocal label %s not at the beginning of basic block bb %d"

Kazu Hirata


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