This is the mail archive of the gcc@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]

ASM_GENERATE_INTERNAL_LABEL synopsis ?


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...


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