Results 1 to 4 of 4

Thread: An "-Og" Optimization Level For GCC

  1. #1
    Join Date
    Jan 2007
    Posts
    14,599

    Default An "-Og" Optimization Level For GCC

    Phoronix: An "-Og" Optimization Level For GCC

    Compiler expert Richard Guenther of SUSE proposed introducing an "-Og" optimization level for GCC to enhance the debugging experience...

    http://www.phoronix.com/vr.php?view=MTE3NDg

  2. #2
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,788

    Default

    There's already an "-Og" option. It's called "Clang."

  3. #3
    Join Date
    Oct 2008
    Posts
    3,094

    Default

    Quote Originally Posted by RealNC View Post
    There's already an "-Og" option. It's called "Clang."
    It sucks, then - maybe they'll fix it. What kind of debug option requires you to fix up your code that runs fine with other options?

  4. #4
    Join Date
    Jul 2011
    Posts
    73

    Lightbulb

    I just found a nice usecase for -Og: Good debug traces for tail call optimized code: http://draketo.de/light/english/free-software/tco-debug

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •