public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/79181] Not deleting /tmp/cc* Date: Mon, 30 Aug 2021 22:28:47 +0000 [thread overview] Message-ID: <bug-79181-4-zHsH5FcyNi@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-79181-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79181 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Now what collect2 does: #ifdef SIGQUIT if (signal (SIGQUIT, SIG_IGN) != SIG_IGN) signal (SIGQUIT, handler); #endif if (signal (SIGINT, SIG_IGN) != SIG_IGN) signal (SIGINT, handler); #ifdef SIGALRM if (signal (SIGALRM, SIG_IGN) != SIG_IGN) signal (SIGALRM, handler); #endif #ifdef SIGHUP if (signal (SIGHUP, SIG_IGN) != SIG_IGN) signal (SIGHUP, handler); #endif if (signal (SIGSEGV, SIG_IGN) != SIG_IGN) signal (SIGSEGV, handler); #ifdef SIGBUS if (signal (SIGBUS, SIG_IGN) != SIG_IGN) signal (SIGBUS, handler); #endif I guess SIGQUIT and SIGSEGV and SIGBUS should be added too. Also collect2.c should move over to fatal_signal instead of its own handler too ...
next prev parent reply other threads:[~2021-08-30 22:28 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-79181-4@http.gcc.gnu.org/bugzilla/> 2021-08-30 22:20 ` pinskia at gcc dot gnu.org 2021-08-30 22:26 ` pinskia at gcc dot gnu.org 2021-08-30 22:26 ` pinskia at gcc dot gnu.org 2021-08-30 22:28 ` pinskia at gcc dot gnu.org [this message] 2021-08-30 22:28 ` pinskia at gcc dot gnu.org 2021-08-30 22:29 ` pinskia at gcc dot gnu.org 2021-08-30 22:30 ` pinskia at gcc dot gnu.org 2021-08-30 22:48 ` pinskia at gcc dot gnu.org 2021-08-31 6:29 ` cvs-commit at gcc dot gnu.org 2021-08-31 6:31 ` pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-79181-4-zHsH5FcyNi@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).