This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.0: Troubling warning in dwarf2out.c
- To: jsm28 at cam dot ac dot uk (Joseph S. Myers)
- Subject: Re: 3.0: Troubling warning in dwarf2out.c
- From: Brad Lucier <lucier at math dot purdue dot edu>
- Date: Fri, 18 May 2001 14:07:43 -0500 (EST)
- Cc: lucier at math dot purdue dot edu (Brad Lucier), gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
> 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