[Bug modula2/126911] [17 Regression] GCC/nvptx vs. PR modula2/125129: Many tests fail to link on FreeBSD

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126911

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <[email protected]>:

https://gcc.gnu.org/g:e8de2a38c2c9bce2e1b8f94c5f263da57fefba79

commit r17-3427-ge8de2a38c2c9bce2e1b8f94c5f263da57fefba79
Author: Gaius Mulley <[email protected]>
Date:   Wed Aug 19 15:14:22 2026 +0100

    PR modula2/126911: Tidyup removing files

    This tiny patch tidies up the removal of a file using
    a function testing for the name being not None and that it exists.
    Boostrapped on Debian x86_64.

    gcc/m2/ChangeLog:

            PR modula2/126911
            * tools-src/mktargetsrc.py (safeRemove): New function.
            (quietSystem): Call safeRemove for temporaryFile and
            args.outputfile.

    Signed-off-by: Gaius Mulley <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.