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


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


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