This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51151] Invalid -Woverflow warning in C++ frontend
- From: "krebbel at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Dec 2011 12:02:47 +0000
- Subject: [Bug c++/51151] Invalid -Woverflow warning in C++ frontend
- Auto-submitted: auto-generated
- References: <bug-51151-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51151
--- Comment #4 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2011-12-14 12:02:47 UTC ---
libgomp/testsuite/libgomp.c++/for-2.C: In function 'void f7(int, int, int)':^M
libgomp/testsuite/libgomp.c++/for-2.C:87:3: error: invalid increment
expression^M
compiler exited with status 1
output is:
libgomp/testsuite/libgomp.c++/for-2.C: In function 'void f7(int, int, int)':^M
libgomp/testsuite/libgomp.c++/for-2.C:87:3: error: invalid increment
expression^M
FAIL: libgomp.c++/for-2.C -O0 (test for excess errors)
Excess errors:
libgomp/testsuite/libgomp.c++/for-2.C:87:3: error: invalid increment expression
WARNING: libgomp.c++/for-2.C -O0 compilation failed to produce executable