3 ms·
> They have said it face-to-face, in person. [...] I will ask again. If you do ask again, can you do so somewhere like a public mailing list, so I can read the
by josephcsible 5y ago
> They have said it face-to-face, in person. [...] I will ask again.
If you do ask again, can you do so somewhere like a public mailing list, so I can read their response myself?
> For documentary evidence, you may consult the definition of C11 memset_s, which is specified not to permit the optimization. It is hard to imagine such a requirement being perceived as needed, absent cases where calls to memset have actually been elided.
The point of memset_s is to prohibit the optimization when the object isn't volatile.