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]

Re: Patch to preserve programmer specified labels in flow.c



  In message <199903182103.NAA10851@elmo.cygnus.com>you write:
  > Hi Guys,
  > 
  >   I would like to submit the following patch for approval.  It changes
  >   the function can_delete_label_p so that programmer specified labels
  >   can no longer be deleted.  Without this patch bad debug information
  >   can be generated for programmer specified labels which have been
  >   optimised away.
  > 
  > Cheers
  > 	Nick
  > 
  > 
  > Thu Mar 18 13:00:55 1999  Nick Clifton  <nickc@cygnus.com>
  > 
  > 	* flow.c (can_delete_label_p): Do not allow user specified
  > 	labels to be deleted.
Actually, we can "delete" them by turning them into NOTE_INSN_DELETE_LABELs.
Seems to me we should do that instead of keeping the label around.

Search for LABEL_NAME in jump.c for code which deletes user declared labels.

jeff


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