Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/testsuite/g++/../../g++ -B/mnt/gn u/gcc-3.3/objdir/gcc/testsuite/g++/../../ /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++ .dg/init/ctor4.C -nostdinc++ -I/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/li bstdc++-v3/include/hppa2.0w-hp-hpux11.11 -I/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-h pux11.11/libstdc++-v3/include -I/mnt/gnu/gcc-3.3/gcc/libstdc++-v3/libsupc++ -I/m nt/gnu/gcc-3.3/gcc/libstdc++-v3/include/backward -I/mnt/gnu/gcc-3.3/gcc/libstdc+ +-v3/testsuite -fmessage-length=0 -ansi -pedantic-errors -Wno-long-long -S - o ctor4.s (timeout = 300) /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/init/ctor4.C:11: warning: non-static r eference 'int& bar::a' in class without a constructor /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/init/ctor4.C: In constructor 'bar::bar ()': /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/init/ctor4.C:9: error: uninitialized r eference member 'bar::a' /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/init/ctor4.C: In function 'int main(in t, char**)': /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/init/ctor4.C:19: note: synthesized met hod 'bar::bar()' first required here compiler exited with status 1 output is: /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/init/ctor4.C:11: warning: non-static r eference 'int& bar::a' in class without a constructor /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/init/ctor4.C: In constructor 'bar::bar ()': /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/init/ctor4.C:9: error: uninitialized r eference member 'bar::a' /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/init/ctor4.C: In function 'int main(in t, char**)': /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/init/ctor4.C:19: note: synthesized met hod 'bar::bar()' first required here
PASS: g++.dg/init/ctor4.C (test for errors, line 9) PASS: g++.dg/init/ctor4.C (test for errors, line 19) FAIL: g++.dg/init/ctor4.C (test for excess errors) Excess errors: /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.dg/init/ctor4.C:11: warning: non-static r eference 'int& bar::a' in class without a constructor This is as new fail in the last couple of days. The same fail also occurs in these tests: FAIL: g++.old-deja/g++.jason/overload34.C (test for excess errors) Excess errors: /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.jason/overload34.C:5: warnin g: non-static reference 'int& X::flag' in class without a constructor FAIL: g++.old-deja/g++.mike/p11110.C (test for excess errors) Excess errors: /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.mike/p11110.C:16: warning: n on-static reference 'conatiner& user::_c' in class without a constructor -- Summary: g++.dg/init/ctor4.C:11: warning: non-static reference 'int& bar::a' in class without a constructor Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org GCC build triplet: hppa2.0w-hp-hpux11.11 GCC host triplet: hppa2.0w-hp-hpux11.11 GCC target triplet: hppa2.0w-hp-hpux11.11 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26129