[Bug middle-end/49035] Avoid setting up stack frame for short, hot code paths

2011-05-17 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49035 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug middle-end/49035] Avoid setting up stack frame for short, hot code paths

2011-05-17 Thread scovich at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49035 --- Comment #1 from Ryan Johnson 2011-05-18 02:56:23 UTC --- Update: using __attribute__((noinline)) it is actually possible to force the compiler to do the right thing, though it makes the code significantly less readable: === example.cpp =