1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

An "-Og" Optimization Level For GCC

Compiler

Published on 03 September 2012 09:56 AM EDT
Written by Michael Larabel in Compiler
3 Comments

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

The -Og compiler optimization flag for the GNU Compiler Collection would be similar to -O1 and be more about enhancing the debug-ability of binaries as opposed to performing optimizations for speed. "This adds a new optimization level, -Og, as previously discussed. It aims at providing fast compilation, a superior debugging experience and reasonable runtime performance...It's a first cut, highlighting that our fixed pass pipeline and simply enabling/disabling individual passes (but not pass copies for example) doesn't scale to properly differentiate between -Og and -O[23]. -O1 should get similar treatment, eventually just building on -Og but not focusing on debugging experience."

While this optimization level was previously discussed amongst developers previously, no GCC developers have yet to comment on the -Og "RFC" that went out last month, so Guenther may end up shelving the idea for GCC 4.8 rather than pushing it into trunk.

The mailing list message concerning GCC -Og can be found on gcc-patches.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Scythe Mugen MAX
  2. Intel Core i7 5960X Haswell-E On Linux
  3. Intel 80GB 530 Series M.2 SSD On Linux
  4. With A New Motherboard, The Core i7 5960X Haswell-E Lights Up
Latest Linux Articles
  1. RadeonSI GLAMOR Benchmarks With X.Org Server 1.16
  2. RadeonSI Gallium3D vs. Catalyst At 4K UHD On Linux
  3. MSAA RadeonSI Gallium3D Performance Preview
  4. Intel Core i7 5960X CPU Core Scaling Under Linux
Latest Linux News
  1. Tropico 5 Being Released For Linux Gamers This Week
  2. Eclipse IDE Starts Firing Up On Wayland's Weston
  3. OpenSUSE Announcement On SUSE's Recent Merger
  4. Valve Begins Publicly Tracking AMD Catalyst Linux Issues
  5. Digia Qt Spinoff Is Called "The Qt Company"
  6. GNOME 3.14 Makes More Progress In Running Natively On Wayland
  7. Minix 3.3 Released With Cortex-A8 ARM Support, NetBSD Userland Compatibility
  8. More Intel DRM Changes Queued For Linux 3.18, Including Old i830M Fixes
  9. New Code Starts Lining Up For X.Org Server 1.17
  10. Rust Developers Planning For The Rust 1.0 Language
Latest Forum Discussions
  1. New Group Calls For Boycotting Systemd
  2. Hd 6850
  3. New stress testing utility for GPU's
  4. Best Radeon for a Power Mac G5?
  5. Updated and Optimized Ubuntu Free Graphics Drivers
  6. support for first generation UVD blocks (RV6xx, RS780, RS880 and RV790)
  7. Nvidia joins the ranks of Apple and Microsoft
  8. nv and xorg.conf under Debian PPC