This is the mail archive of the gcc-patches@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]

Re: [patch c++]: Fix PR/64127 ICE on invalid: tree check: exprected identifier_node, have template_id_expr in cp_parser_diagnose_invalid_type_name


On Thu, Dec 04, 2014 at 04:59:21PM +0100, Kai Tietz wrote:
> Same as said before.  Issue is a invalid-code bug with ICE, and
> error-messages are pretty meaningless.  It would be helpful to have in
> testsuite just the opportunity to test for no ICE.

You can add just // { dg-error "" } on all lines that are diagnosed,
the ICE should FAIL the test anyway.  Please verify it by checking
the testcase fails without the patch and succeeeds with the patch.

> Anyway, if testcase is requested, I can add it to g++.dg/ collection

Yes, please.

	Jakub


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