[Bug bootstrap/63933] Build stage1 with -O2 during bootstrap if host compiler is a recent gcc version

andi-gcc at firstfloor dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 18 13:49:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63933

Andi Kleen <andi-gcc at firstfloor dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andi-gcc at firstfloor dot org

--- Comment #4 from Andi Kleen <andi-gcc at firstfloor dot org> ---
Perhaps using -Og (or -O1) if available?

I actually like to use unoptimized stage1 gcc to debug things with gdb,

The last time I checked the worst offenders were some of the C++ inlines not
getting inlined, and especially the new RTL code very heavily relies on that.
Perhaps just 

#define inline __attribute__((always_inline)) inline

for stage1 would be good enough to fix the worst.



More information about the Gcc-bugs mailing list