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++/14283] [3.5 regression] ICE in cp_parser_parse_and_diagnose_invalid_type_name


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-03-19 15:52 -------
In 3.4.0 and mainline we get the message

x.cc:5: error: type `A' is not derived from type `C< <template-parameter-1-1> >'
x.cc:5: error: ISO C++ forbids declaration of `INVALID' with no type
x.cc:5: error: expected `;' before '<' token

for the testcase in comment #2.
So your patch should be an improvement, Giovanni.


-- 


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


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