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]
Other format: [Raw text]

Re: RFC: #pragma optimization_level


Diego Novillo <dnovillo@redhat.com> writes:

| On Fri, Apr 01, 2005 at 11:24:06AM -0800, Mark Mitchell wrote:
| > Dale Johannesen wrote:
| > 
| > >So I guess question 1 is, Mark, do you feel negatively enough about this
| > >feature to block its acceptance in mainline?
| > 
| > I'm not sure that I *could* block it, but, no, I don't feel that negatively.
| > 
| I don't mind either way.  But I do have a question, what's the
| granularity of this #pragma?  Function-level, I hope?

o, what happens, if I have tings like this

       #pragma optimization_level whatever

        struct A {
           void f();
           void g();
        };

Do A::f() and A::g() get affected?

-- Gaby


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