http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53565
Bug #: 53565 Summary: [4.8 Regression] FAIL: libgomp.c++/for-7.C Classification: Unclassified Product: gcc Version: 4.8.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 188113 (OK, see http://gcc.gnu.org/ml/gcc-testresults/2012-06/msg00085.html ) and 188118 (see http://gcc.gnu.org/ml/gcc-testresults/2012-06/msg00094.html ), the test libgomp.c++/for-7.C has started to fail with: Executing on host: /opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc/ /opt/gcc/work/libgomp/testsuite/libgomp.c++/for-7.C -B/opt/gcc/build_w/x86_64-apple-darwin10.8.0/i386/libgomp/ -B/opt/gcc/build_w/x86_64-apple-darwin10.8.0/i386/libgomp/.libs -I/opt/gcc/build_w/x86_64-apple-darwin10.8.0/i386/libgomp -I/opt/gcc/work/libgomp/testsuite/.. -march=i486 -shared-libgcc -fmessage-length=0 -fno-diagnostics-show-caret -fopenmp -O0 -std=c++0x -fopenmp -B/opt/gcc/build_w/x86_64-apple-darwin10.8.0/i386/libgomp/../libstdc++-v3/src/.libs -L/opt/gcc/build_w/x86_64-apple-darwin10.8.0/i386/libgomp/.libs -L/opt/gcc/build_w/x86_64-apple-darwin10.8.0/i386/libgomp/../libstdc++-v3/src/.libs -lstdc++ -lm -m32 -o ./for-7.exe (timeout = 300) /opt/gcc/work/libgomp/testsuite/libgomp.c++/for-7.C: In instantiation of 'void f2() [with T = int]': /opt/gcc/work/libgomp/testsuite/libgomp.c++/for-7.C:95:12: required from here /opt/gcc/work/libgomp/testsuite/libgomp.c++/for-7.C:49:3: error: use of 'i' before deduction of 'auto' /opt/gcc/work/libgomp/testsuite/libgomp.c++/for-7.C: In instantiation of 'void f5() [with T = const char*]': /opt/gcc/work/libgomp/testsuite/libgomp.c++/for-7.C:104:21: required from here /opt/gcc/work/libgomp/testsuite/libgomp.c++/for-7.C:77:3: error: use of 'i' before deduction of 'auto' compiler exited with status 1 ... FAIL: libgomp.c++/for-7.C -O0 (test for excess errors) Excess errors: /opt/gcc/work/libgomp/testsuite/libgomp.c++/for-7.C:49:3: error: use of 'i' before deduction of 'auto' /opt/gcc/work/libgomp/testsuite/libgomp.c++/for-7.C:77:3: error: use of 'i' before deduction of 'auto' >From the error it seems that this is caused by r188116.