3 ms·
> (--(char)hash_ptr.parm.v.p) = fpop(sst); Yeah that’s not very portable. It will work on x86 but will die on MIPS/SPARC a horrible bus error based death unle
by anonuser123456 5y ago
> (--(char)hash_ptr.parm.v.p) = fpop(sst);
Yeah that’s not very portable. It will work on x86 but will die on MIPS/SPARC a horrible bus error based death unless there are special invariants on that pointer dictated elsewhere.
- fhars 5y agoNo, that doesn't even work on X86: In file included from kernel.c:181: words.c:2012:11: error: lvalue required as decrement operand 2012 | *(--(char*)hash_ptr.parm.v.p) = fpop(sst); | ^~
- josephcsible 5y agoIt used to, as a GCC extension, which was removed in version 4.0.