https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- Created attachment 45497 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45497&action=edit canonicalize_pathname function extracted from the translation unit. Attached is the canonicalize_pathname function extracted from the translation unit that triggers the -Wrestrict warning.