------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-03 
10:26 -------
Subject: Bug 17401

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     [EMAIL PROTECTED]       2005-02-03 10:26:23

Modified files:
        gcc/cp         : ChangeLog parser.c decl2.c 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/g++.dg/parse: error25.C 

Log message:
        PR c++/17401
        * parser.c (cp_parser_pure_specifier): Emit a specific error
        message with an invalid pure specifier.
        * decl2.c (grok_function_init): Remove.
        (grokfield): An initializer for a method is a always a pure
        specifier.
        
        PR c++/17401
        * g++.dg/parse/error25.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4614&r2=1.4615
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.310&r2=1.311
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&r1=1.764&r2=1.765
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4992&r2=1.4993
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/error25.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17401

Reply via email to