This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46826] g++ with -O2 may generate infinite loops on x86_64
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 6 Dec 2010 17:59:01 +0000
- Subject: [Bug c++/46826] g++ with -O2 may generate infinite loops on x86_64
- Auto-submitted: auto-generated
- References: <bug-46826-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46826
Zdenek Sojka <zsojka at seznam dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zsojka at seznam dot cz
--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2010-12-06 17:58:51 UTC ---
bool m_onDemand;
bool onDemand() const { return onDemand(); }
perhaps you want "return m_onDemand;"?