public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "danglin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/26129] New: g++.dg/init/ctor4.C:11: warning: non-static reference 'int& bar::a' in class without a constructor Date: Mon, 06 Feb 2006 15:00:00 -0000 [thread overview] Message-ID: <bug-26129-276@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2006-02-06 15:00 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-02-06 15:00 danglin at gcc dot gnu dot org [this message] 2006-02-06 15:02 ` [Bug c++/26129] " pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-26129-276@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).