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++/46680] Suboptimal code generated for bool comparisons


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46680

Dmitry Gorbachev <d.g.gorbachev at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d.g.gorbachev at gmail dot
                   |                            |com

--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2010-11-27 05:51:15 UTC ---
> Am I missing something?

-O1 / -O2 / -O3 / -Os option.

> but I think this is a strange behavior
> even for non-initialized variables.

http://en.wikipedia.org/wiki/Undefined_behavior


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