This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/30863] [4.1/4.2/4.3 Regression] Unsigned templatized struct treated as unsigned int



------- Comment #3 from mmitchel at gcc dot gnu dot org  2007-03-23 04:37 -------
Subject: Bug 30863

Author: mmitchel
Date: Fri Mar 23 04:37:40 2007
New Revision: 123152

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123152
Log:
        PR c++/30863
        * parser.c (cp_parser_parse_and_diagnose_invalid_type_name): Do
        not consume tokens when failing.
        PR c++/30863
        * g++.dg/template/error24.C: New test.
        * g++.dg/parse/tmpl-outside1.C: Tweak error markers.

Added:
    trunk/gcc/testsuite/g++.dg/template/error24.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/tmpl-outside1.C


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]