This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53158] [C++11] Bogus error in loop condition
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 May 2012 18:38:34 +0000
- Subject: [Bug c++/53158] [C++11] Bogus error in loop condition
- Auto-submitted: auto-generated
- References: <bug-53158-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53158
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-07 18:38:34 UTC ---
void foo();
void bar(int a, int b)
{
if (foo() && a < b)
;
}