http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46076
--- Comment #11 from Matt Hargett <matt at use dot net> 2010-11-17 21:37:43 UTC --- Given that "int foo()" and "int foo(void)" are not varargs functions, shouldn't GCC mainline be able to optimize this?