https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116263
Bug ID: 116263 Summary: -time=FILE doesn't report failure to write to FILE Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- ``` $ touch z && sudo chattr +i z $ echo 'int main() {}' | gcc -x c -time=/tmp/z - ; cat /tmp/z ``` No error message is given for the failed write to /tmp/z.