This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/61531] Optimizer completely removes some bitset code


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]