Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] [debugging] - add new flag


It might be recommended, but out QA team found it's not as great as it's supposed; we're sticking with -O0 as default
for our product. I don't have the exact report in front of me right now.

On 15.04.2014 18:44, Rafael Peria de Sene wrote:

Sorry guys, my suggestion is to include -Og as default for optimization, using -Og for debug and -O3 for release. Marc, I can't see any
problem here as it is the recommended flag.

On 04/15/2014 11:02 AM, Marc Khouzam wrote:
Hi,

I wonder how much value this adds at the risk of causing unexpected problems based on the compiler
used by each user.

Marc

-----Original Message-----
From:cdt-dev-bounces@xxxxxxxxxxx  [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Rafael Peria de Sene
Sent: Monday, April 14, 2014 1:22 PM
To: CDT General developers list.
Subject: [cdt-dev] [debugging] - add new flag

Hi folks,
      What about include -Og as a default option for debugging ?

      Its optimize debugging experience. -Og enables optimizations that do not
interfere with debugging. It should be the optimization level of choice for the
standard edit-compile-debug cycle, offering a reasonable level of
optimization while maintaining fast compilation and a good debugging
experience.

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev




_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



--
Vladimir Prus
CodeSourcery / Mentor Graphics
http://www.mentor.com/embedded-software/


Back to the top