This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
ASM_GENERATE_INTERNAL_LABEL synopsis ?
- To: egcs at egcs dot cygnus dot com
- Subject: ASM_GENERATE_INTERNAL_LABEL synopsis ?
- From: Marc Espie <espie at tetto dot liafa dot jussieu dot fr>
- Date: Tue, 31 Aug 1999 19:33:58 +0200
- Reply-To: Marc dot Espie at liafa dot jussieu dot fr
Looking at dwarf2out.c, I believe that ASM_GENERATE_INTERNAL_LABEL
and its twins may be currently badly defined.
Either they should be able to handle unsigned long as well,
in which case the prototype should
printf("%lu", (unsigned long) number);
or some definitions in dwarf2out.c are broken.
In any case, the current state of affairs is dangerous.
The type of the number passed to this macro should be
documented, or coerced to a proper type so that it doesn't
confuse printf.
What do you people think ?
I can write the patch involved, but it is rather large, as
this involve quite a number of files...