This is the mail archive of the gcc-patches@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: CVS g++ new warning [-Winline -Werror -O1]


>>>>> "Jason" == Jason Merrill <jason@cygnus.com> writes:

    Jason> I don't think we want to suppress user-written statics.

    >> Even when optimizing?  Why not?

    Jason> Well, maybe.  But any such change should happen in
    Jason> wrapup_global_declarations, not the frontend, methinks.

Maybe.  When inlining, it's good to do things earlier, rather than
later.  But, that may not actually matter here -- we don't ever want
to copy inlined statics about anyhow.

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