NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/38482: C compiler can generate non-restartable code within a RAS



On Mon, 21 Apr 2008, scw%NetBSD.org@localhost wrote:
> I've recently noticed occasional SEGVs with threaded programs on ARM.
> This turns out to be caused by dereferencing a bad pointer value in the
> code between the RAS_START and RAS_END in
> common/lib/libc/atomic/atomic_init_testset.c:_atomic_cas_up().

Does it help to declare "volatile uint32_t ret;" ?

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index