https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101510
--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Madhu from comment #11) > I think my initial problem remains Well your "initial problem" was talking exclusively about create_directory, which works perfectly. There is a problem is a **different** function, however when you report a bug saying "A doesn't work" it's hard to know that you meant "B doesn't work". This is why you're supposed to provide a testcase, so we don't have to guess what you're actually trying to say.