In fact, all C compilers tend to somewhat ignore
restrict.
restrict qualification is local to block/struct/function/file but is not transmitted to another function (assignation). With a call to an external function that the compiler does not know anything about restrict does nothing.