[Bug c/70458] Function and function pointers that, when called, imply an optimization barrier

fw at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 30 13:46:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70458

--- Comment #3 from Florian Weimer <fw at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> I also seriously question
> 
> "The glibc consensus is to keep such calls."
> 
> can you provide a reference to the relevant discussion?

https://sourceware.org/ml/libc-alpha/2016-03/msg00587.html

Not mention in this thread is that prototype mismatches can be helpful to
implement wrappers for variadic system calls such as open or futex.


More information about the Gcc-bugs mailing list