Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Matthew Jacob <mjacob@netbsd.org>
List: source-changes
Date: 12/30/2000 21:30:10
Module Name:	syssrc
Committed By:	mjacob
Date:		Sat Dec 30 19:30:10 UTC 2000

Modified Files:
	syssrc/sys/dev/ic: isp.c

Log Message:
There's a compiler bug for sparc64 that makes the construct:

	char *foo = "XXXX";
	...
	foo[1] = 'Y';

blow up (in the kernel) with the 2nd assignment. Work around it here-
it's probably just as well- I was spending more in cpu instructions doing
the assignment than I was saving in string space (it would have been
cheap on a pdp11 or a 68k- but the address loads and assignments on something
like sparc or alpha way outweigh the savings in space. Tsk.).


To generate a diff of this commit:
cvs rdiff -r1.66 -r1.67 syssrc/sys/dev/ic/isp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.