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

Re: [PATCH] Add -Og optimization level - optimize for compile-time/debugging experience


> Which means that -O0 should also set optimize_debug to 1?  -O0 is
> then !optimize && optimize_debug and -Og is optimize == 1 &&
> optimize_debug.

That sounds more confusing than helpful though.  Adding (|| optimize_debug) in 
the relevant places is probably good enough.

-- 
Eric Botcazou


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