http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51496
Bug #: 51496 Summary: [4.7 Regression] FAIL: libgomp.c++/for-2.C * (test for excess errors) Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: domi...@lps.ens.fr CC: hjl.to...@gmail.com, ja...@gcc.gnu.org Between revisions 182173 (OK, see http://gcc.gnu.org/ml/gcc-testresults/2011-12/msg01032.html ) and 182176 (see http://gcc.gnu.org/ml/gcc-testresults/2011-12/msg01035.html , likely r182175) the tests for libgomp.c++/for-2.C have started to fail: FAIL: libgomp.c++/for-2.C -O0 (test for excess errors) WARNING: libgomp.c++/for-2.C -O0 compilation failed to produce executable FAIL: libgomp.c++/for-2.C -O1 (test for excess errors) WARNING: libgomp.c++/for-2.C -O1 compilation failed to produce executable FAIL: libgomp.c++/for-2.C -O2 (test for excess errors) WARNING: libgomp.c++/for-2.C -O2 compilation failed to produce executable FAIL: libgomp.c++/for-2.C -O3 -fomit-frame-pointer (test for excess errors) WARNING: libgomp.c++/for-2.C -O3 -fomit-frame-pointer compilation failed to produce executable FAIL: libgomp.c++/for-2.C -O3 -fomit-frame-pointer -funroll-loops (test for excess errors) WARNING: libgomp.c++/for-2.C -O3 -fomit-frame-pointer -funroll-loops compilation failed to produce executable FAIL: libgomp.c++/for-2.C -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) WARNING: libgomp.c++/for-2.C -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions compilation failed to produce executable FAIL: libgomp.c++/for-2.C -O3 -g (test for excess errors) WARNING: libgomp.c++/for-2.C -O3 -g compilation failed to produce executable FAIL: libgomp.c++/for-2.C -Os (test for excess errors) WARNING: libgomp.c++/for-2.C -Os compilation failed to produce executable The failures are FAIL: libgomp.c++/for-2.C -O0 (test for excess errors) Excess errors: /opt/gcc/work/libgomp/testsuite/libgomp.c++/for-2.C:87:3: error: invalid increment expression