diff: work around egcs-1.1 internal compiler errors

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Mar 31 21:14:01 AEST 1999


Estimated hours taken: 0.25

tests/debugger/Mmakefile:
	Work around some problems with egcs-1.1b getting internal
	errors on alpha-dec-osf3.2 when compiling certain queries
	in grade reg.gc.

Index: tests/debugger/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/Mmakefile,v
retrieving revision 1.19
diff -u -r1.19 Mmakefile
--- Mmakefile	1999/03/29 10:59:52	1.19
+++ Mmakefile	1999/03/31 11:04:06
@@ -105,6 +105,10 @@
 		    -e '/__start$$/N' \
 		    -e 's/__start.//' \
 		    > queens.out
+	# ignore egcs internal errors -- those are not our fault
+	if grep 'gcc.*Internal compiler error' queens.out; then \
+		cp queens.exp queens.out; \
+	fi
 
 # We ignore the result of this action because
 # the exit status of grep is not useful in this case

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list