Subject: gcc 2.95.2 sanity check, please
To: None <port-alpha@netbsd.org>
From: Eric Schnoebelen <eric@cirr.com>
List: port-alpha
Date: 01/22/2004 16:54:06
I'm digging through the vnlock's for Stephen Jones, and in
looking at the crash dumps, I'm seeing an interesting code path
being taken..

Notably, the following statement,

	if (flags & LK_TYPE_MASK) {	/* sys/kern/vfs_subr.c:1155 */

is evaluating true, when the surrounding function is called as

	vget (vp=0xfffffc0022eeeeb8, flags=0);

Now, I noticed that SMJ had ``makeoptions COPTS="-O2 -mbwx"''
set in the kernel configuration file..  This triggered a memory
that gcc optimization levels greater than -O1 don't work
reliabily on the alpha.

Is my memory (that optimization levels greater than -O1 don't
work) correct?

	Thanks,
		Eric

[my, what an appropriate auto-selected signature... ]
--
Eric Schnoebelen		eric@cirr.com		http://www.cirr.com
    Churchill's Commentary on Man: Man will occasionally stumble over the
    truth, but most of the time he will pick himself up and continue on.