internal compiler error for egcs 1.1

Robert Lipe robertl@dgii.com
Thu Dec 3 15:00:00 GMT 1998


[ egcs patches dropped ] 

> g++, so I think the testcase should be added to the C testsuite,
> instead of the C++ testsuite.  However, I don't know how, if at all
> possible, to translate the old-dejagnu comments to the ones used in
> the C testsuite.  Does anyone have any tips?

The secret spy decoder ring points you toward the "dg" testsuite
framework.   Without actually trying or testing it, I think that

	// Build don't link:
	// Skip if not target: sparc-*-*
	// Special g++ Options: -mcpu=ultrasparc
	// crash test - XFAIL *-*-*

would translate into a gcc.dg entry that would start approximately like this:

/* { dg-do compile { target sparc-*-* } } */
/* { dg-options -mcpu=ultrasparc } */





I could be wrong.

RJL




More information about the Gcc-bugs mailing list