—Are you going to suggest memset_s()?
—I don't know, it's only 2016, perhaps volatile…
cc @BRIAN_____
@johnregehr @spun_off In particular, given:
int x = 1;
int volatile *p = &x;
Couldn't (shouldn't?) the compiler just ignore the "volatile"?
-
-
@BRIAN_____@johnregehr @spun_off Even if it shouldn't, sometimes it does: http://goo.gl/LDfPHG -
@sevenps@BRIAN_____ @spun_off I'll just leave this here and run away http://goo.gl/aJERCS -
@BRIAN_____ Sorry that it's so redundant but have you seen https://github.com/regehr/ub-canaries/issues/5 … ? -
@BRIAN_____ https://github.com/regehr/ub-canaries/issues/5#issuecomment-175182921 … makes a good point: if the array is in memory & gets overwritten there's already no guarantee about regs -
@spun_off Literally would be easier for me to code asm implementations for every platform I care about than to keep thinking about this. :)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.