This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 3.0: Troubling warning in dwarf2out.c
- To: jason_merrill at redhat dot com
- Subject: Re: 3.0: Troubling warning in dwarf2out.c
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 18 May 2001 19:06:28 -0700
- Cc: lucier at math dot purdue dot edu, jsm28 at cam dot ac dot uk, gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <m3wv7e9ur4.fsf@prospero.cambridge.redhat.com>
>>>>> "Jason" == Jason Merrill <jason_merrill@redhat.com> writes:
Jason> Wouldn't it make sense for the definition of
Jason> ASM_OUTPUT_INTERNAL_LABEL to simply cast "num" to the
Jason> appropriate type if it wants to use fprintf?
It would be better if we would treat these macros like functions, and
specify their types.
In fact, most of them should just *be* functions, in my opinion. They
could always be inline, with a little magic to support compilers that
don't allow that, if they're really so performance critical.
(Anything that calls `fprintf' certainly isn't, though.)
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com