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: 3.0: Troubling warning in dwarf2out.c


> I suggest sending a patch to tm.texi to define precisely what the
> interface to ASM_OUTPUT_INTERNAL_LABEL is (cf
> http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01260.html).  Once the
> documented interface is agreed, then a patch can be sent to change
> definitions and uses to conform to it.

OK, here is one.

Brad

	* tm.texi: Make explicit that num in ASM_OUTPUT_INTERNAL_LABEL
	is an int.

===================================================================
RCS file: RCS/tm.texi,v
retrieving revision 1.1
diff -p -r1.1 tm.texi
*** tm.texi	2001/05/18 19:06:46	1.1
--- tm.texi	2001/05/18 19:09:15
*************** encoded by @code{ENCODE_SECTION_INFO}.
*** 6185,6191 ****
  @findex ASM_OUTPUT_INTERNAL_LABEL
  @item ASM_OUTPUT_INTERNAL_LABEL (@var{stream}, @var{prefix}, @var{num})
  A C statement to output to the stdio stream @var{stream} a label whose
! name is made from the string @var{prefix} and the number @var{num}.
  
  It is absolutely essential that these labels be distinct from the labels
  used for user-level functions and variables.  Otherwise, certain programs
--- 6185,6191 ----
  @findex ASM_OUTPUT_INTERNAL_LABEL
  @item ASM_OUTPUT_INTERNAL_LABEL (@var{stream}, @var{prefix}, @var{num})
  A C statement to output to the stdio stream @var{stream} a label whose
! name is made from the string @var{prefix} and the @code{int} @var{num}.
  
  It is absolutely essential that these labels be distinct from the labels
  used for user-level functions and variables.  Otherwise, certain programs


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