This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: obvious race condition in darwin/netbsd __enable_execute_stack due to caching pagesize/mask
On Wed, Aug 27, 2008 at 11:47 AM, Jay <jay.krell@cornell.edu> wrote:
>
>> "(volatile*)
>
> So this is using implied int then?
> Isn't that really considered to be avoided these days? Or perfectly ok in C?
> I know it is "legal", but I assume to be avoided as a matter of taste and C++ compat.
> Or you can really omit the type???? I think not. Might be a nice extension though.
I was typing fast on my iphone :). yes it should have been the
volatile type of size and mask.
> (*(char*)&i) = 0;
is legal as *rvalue is a lvalue.
-- Pinski