This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61531] Optimizer completely removes some bitset code
- From: "Ulrich.Windl at rz dot uni-regensburg.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Jun 2014 13:56:47 +0000
- Subject: [Bug c++/61531] Optimizer completely removes some bitset code
- Auto-submitted: auto-generated
- References: <bug-61531-4 at http dot gcc dot gnu dot org/bugzilla/>
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!