public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug jit/64721] SIGABRT becomes a SIGSEGV after invoking gcc_jit_context_compile[_to_file] within a process Date: Fri, 23 Jan 2015 16:31:00 -0000 [thread overview] Message-ID: <bug-64721-4-PQ10cEfGhI@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-64721-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64721 David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Author: dmalcolm Date: Fri Jan 23 16:28:14 2015 New Revision: 220045 URL: https://gcc.gnu.org/viewcvs?rev=220045&root=gcc&view=rev Log: PR jit/64721: toplev: don't install signal-handlers when running within libgccjit gcc/ChangeLog: PR jit/64721 * main.c (main): Construct toplev instances with init_signals=true. * toplev.c (general_init): Add param "init_signals", and use it to conditionalize the calls to signal and host_hooks.extra_signals. (toplev::toplev): Add param "init_signals". (toplev::main): When invoking general_init, pass m_init_signals to control whether signal-handlers are installed. * toplev.h (toplev::toplev): Add param "init_signals". (toplev::m_init_signals): New field. gcc/jit/ChangeLog: PR jit/64721 * jit-playback.c (gcc::jit::playback::context::compile): Construct toplev instances with init_signals=false. Modified: trunk/gcc/ChangeLog trunk/gcc/jit/ChangeLog trunk/gcc/jit/jit-playback.c trunk/gcc/main.c trunk/gcc/toplev.c trunk/gcc/toplev.h --- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Fixed in r220045.
next prev parent reply other threads:[~2015-01-23 16:31 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-01-21 22:06 [Bug jit/64721] New: SIBAGRT turns into SIGSEGV in jit testsuite dmalcolm at gcc dot gnu.org 2015-01-21 22:11 ` [Bug jit/64721] SIBABRT becomes a " dmalcolm at gcc dot gnu.org 2015-01-21 22:12 ` dmalcolm at gcc dot gnu.org 2015-01-21 22:18 ` [Bug jit/64721] SIGABRT becomes a SIGSEGV after invoking gcc_jit_context_compile[_to_file] within a process dmalcolm at gcc dot gnu.org 2015-01-22 21:19 ` dmalcolm at gcc dot gnu.org 2015-01-23 16:31 ` dmalcolm at gcc dot gnu.org [this message] 2015-01-23 16:31 ` dmalcolm 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-64721-4-PQ10cEfGhI@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).