From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4892 invoked by alias); 22 May 2013 17:09:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4849 invoked by uid 48); 22 May 2013 17:09:35 -0000 From: "ppluzhnikov at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57376] New: Bogus error due to failure of unqualified namespace lookup Date: Wed, 22 May 2013 17:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppluzhnikov at google dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg01586.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57376 Bug ID: 57376 Summary: Bogus error due to failure of unqualified namespace lookup Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Reproduced with current trunk @r199204. g++ -c t.cc t.cc:17:25: error: =E2=80=98F2=E2=80=99 is neither function nor member func= tion; cannot be declared friend friend Foo *Foo::F2(Woo *); // error ^ t.cc:17:22: error: expected =E2=80=98;=E2=80=99 at end of member declaration friend Foo *Foo::F2(Woo *); // error ^ t.cc:17:29: error: expected =E2=80=98)=E2=80=99 before =E2=80=98*=E2=80=99 = token friend Foo *Foo::F2(Woo *); // error ^ Source appears to be completely kosher and is accepted by Clang and EDG. Test case: /// --- cut --- namespace B { class Woo; } struct Foo { Foo* F1(B::Woo *); Foo* F2(B::Woo *); }; namespace B { class Boo:Foo { friend Foo *Foo::F1(B::Woo *); // ok friend Foo *Foo::F2(Woo *); // error }; } /// --- cut --- >>From gcc-bugs-return-422914-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 22 17:09:48 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 5568 invoked by alias); 22 May 2013 17:09:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 5526 invoked by uid 48); 22 May 2013 17:09:45 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/57377] New: compiler cannot be built with RTL checking Date: Wed, 22 May 2013 17:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg01587.txt.bz2 Content-length: 1782 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57377 Bug ID: 57377 Summary: compiler cannot be built with RTL checking Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ebotcazou at gcc dot gnu.org CC: krebbel at gcc dot gnu.org Target: s390-*-* There is apparently something wrong with the mnemonic attribute: build/genconditions /home/eric/svn/gcc/gcc/config/s390/s390.md > tmp-condmd.c build/genpreds -h /home/eric/svn/gcc/gcc/config/s390/s390.md > tmp-preds.h build/genpreds -c /home/eric/svn/gcc/gcc/config/s390/s390.md > tmp-constrs.h build/genpreds: Internal error: RTL check: expected elt 0 type 's' or 'S', have 'e' (rtx set) in gen_mnemonic_attr, at gensupport.c:2436 make[2]: *** [s-preds] Error 1 make[2]: *** Waiting for unfinished jobs.... build/genpreds: Internal error: RTL check: expected elt 0 type 's' or 'S', have 'e' (rtx set) in gen_mnemonic_attr, at gensupport.c:2436 make[2]: *** [s-preds-h] Error 1 build/genpreds: Internal error: RTL check: expected elt 0 type 's' or 'S', have 'e' (rtx set) in gen_mnemonic_attr, at gensupport.c:2436 make[2]: *** [s-constrs-h] Error 1 genconditions: Internal error: RTL check: expected elt 0 type 's' or 'S', have 'e' (rtx set) in gen_mnemonic_attr, at gensupport.c:2436 make[2]: *** [s-conditions] Error 1 rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gcc.pod gfortran.pod make[2]: Leaving directory `/home/eric/build/gcc/s390x-ibm-linux/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/home/eric/build/gcc/s390x-ibm-linux' make: *** [all] Error 2