[Bug c++/26571] [4.0/4.1/4.2 regression] Bad diagnostic using type modifier with struct

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 6 05:28:00 GMT 2006



------- Comment #3 from jason at gcc dot gnu dot org  2006-09-06 05:28 -------
Subject: Bug 26571

Author: jason
Date: Wed Sep  6 05:28:08 2006
New Revision: 116715

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116715
Log:
        PR c++/26571
        * parser.c (cp_parser_diagnose_invalid_type_name): Handle the case
        where the name is a type used incorrectly.

Added:
    trunk/gcc/testsuite/g++.dg/parse/typespec1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c


-- 


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



More information about the Gcc-bugs mailing list