Retrieve label name

Vincent R.
Wed Apr 15 14:49:00 GMT 2009


when declaring a label like this :

tree block, body, cond, except_stmt, label, tlabel, name;
  location_t loc, loclabel;
  gcc_assert (c_parser_next_token_is_keyword (parser, RID_SEH_TRY));

  /* label try */
  loclabel = c_parser_peek_token (parser)->location;
  name = c_parser_peek_token (parser)->value;
  cfun->seh_try_begin_label = name;
  tlabel = define_label (loclabel, name);

How can we know the label name( that will be generated ?


More information about the Gcc-help mailing list