https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79181

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>:

https://gcc.gnu.org/g:2dc6782a06eeffd9dc6b84fe93b8fcd2ce4960c7

commit r12-3243-g2dc6782a06eeffd9dc6b84fe93b8fcd2ce4960c7
Author: Andrew Pinski <apin...@marvell.com>
Date:   Mon Aug 30 22:43:16 2021 +0000

    Fix PR driver/79181 (and others), not deleting some /tmp/cc* files for LTO.

    So the main issue here is that some signals are not setup unlike collect2.
    So this merges the setting up of the signal handlers to one function in
    collect-utils and has collect2 and lto-wrapper call that function.

    OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions.

    gcc/ChangeLog:

            PR driver/79181
            * collect-utils.c (setup_signals): New declaration.
            * collect-utils.h (setup_signals): New function.
            * collect2.c (handler): Delete.
            (main): Instead of manually setting up the signals,
            just call setup_signals.
            * lto-wrapper.c (main): Likewise.

Reply via email to