From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22000 invoked by alias); 30 Mar 2008 22:03:38 -0000 Received: (qmail 21812 invoked by alias); 30 Mar 2008 22:02:54 -0000 Date: Sun, 30 Mar 2008 22:03:00 -0000 Message-ID: <20080330220254.21811.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/35578] [4.2/4.3/4.4 regression] Error about misplaced 'friend' word is issued on a wrong line In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt at gcc dot gnu dot org" 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 X-SW-Source: 2008-03/txt/msg02498.txt.bz2 ------- Comment #3 from reichelt at gcc dot gnu dot org 2008-03-30 22:02 ------- Subject: Bug 35578 Author: reichelt Date: Sun Mar 30 22:02:06 2008 New Revision: 133738 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133738 Log: PR c++/35578 * parser.c (cp_parser_decl_specifier_seq): Add location to error message. * g++.dg/parse/friend8.C: New test. Added: trunk/gcc/testsuite/g++.dg/parse/friend8.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35578