--- Comment #4 from Jakub Jelinek <jakub at gcc dot> ---
Created attachment 39647

Alternate untested patch.  The problem right now is that because these
intrinsics are prototyped, whatever type user used is implicitly cast to const
volatile *, and because of the implicit cast it is hard to find out what is
implicit and what is explicit conversion.  This patch attempts to make the arg
non-prototyped, and only checked afterwards.  In the quick testing, it seems to
work for C, but not for C++, which ignores changes to argarray arguments.

Reply via email to