https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61531
Ulrich Windl <Ulrich.Windl at rz dot uni-regensburg.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #7 from Ulrich Windl <Ulrich.Windl at rz dot uni-regensburg.de> ---
As Richard Biener found out (and told me offline), the effect observed is not a
gcc issue, but a gdb issue (gdb 7.5.1 from SUSE):
While objdump -d displays the correct assembly code, gdb's "disassemble main"
also does, but gdb's "disassemble /m main" does not: It leaves the impression
that main() is just an empty routine. Sorry for causing trouble!