NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/40036: rc.d/network doesn't check IPv6 properly with new ifconfig(8)
The following reply was made to PR bin/40036; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: bin/40036: rc.d/network doesn't check IPv6 properly with new
ifconfig(8)
Date: Fri, 28 Nov 2008 00:09:04 +0000
On Thu, Nov 27, 2008 at 04:30:03PM +0000, Izumi Tsutsui wrote:
> "cc -O1 -fno-loop-optimize" fixes the problem, but
> the attached changes also fixes it.
>
> I'm not sure if it's a gcc optimization bug (on m68000 or m68k+softfloat)
> or a source bug, but is it okay to commit this diff for workaround?
That would be a gcc bug.
> - struct kwinst kw = {.k_type = KW_T_INT};
However, this initializes all the fields of struct kwinst (there are
quite a few) and the new code without kw does not. It probably doesn't
matter, as familykw[] is file-static, but maybe it's better to be
cautious.
(Does making kw volatile cause the problem to go away?)
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index