Found one small compile time performance improvement for GCC. I doubt it will make huge difference but being able to not do stuff when not needed is a good thing. Especially when it comes to walking all of the statements of a function. It will only show up if there is exactly 1 stack variable possible (0 stack variables is already handled). That does show up a few times in GCC sources so it might help.