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