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/66628] jit: Provide a way to add arbitrary options to the toplev "command line" Date: Wed, 01 Jul 2015 14:32:00 -0000 [thread overview] Message-ID: <bug-66628-4-eWqxwBk0Jp@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-66628-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66628 --- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Author: dmalcolm Date: Wed Jul 1 14:31:48 2015 New Revision: 225253 URL: https://gcc.gnu.org/viewcvs?rev=225253&root=gcc&view=rev Log: PR jit/66628: add gcc_jit_context_add_command_line_option Backport of r225205 (adb2df5592cdf8e70aa44c0f3c447da1d0134f4c) from trunk gcc/jit/ChangeLog: Backport from mainline r225205 2015-06-30 David Malcolm <dmalcolm@redhat.com> PR jit/66628 * docs/cp/topics/contexts.rst (Additional command-line options): New section. * docs/topics/compatibility.rst: New file. * docs/topics/contexts.rst (Additional command-line options): New section. * docs/topics/index.rst: Add compatibility.rst. * docs/_build/texinfo/libgccjit.texi: Regenerate. * jit-playback.c (make_fake_args): Add call to append_command_line_options. * jit-recording.c: Within namespace gcc::jit... (recording::context::~context): Free the optnames within m_command_line_options. (recording::context::set_bool_option): Likewise. (recording::context::add_command_line_option): New method. (recording::context::append_command_line_options): New method. (recording::context::dump_reproducer_to_file): Add command-line options. * jit-recording.h: Within namespace gcc::jit... (recording::context::add_command_line_option): New method. (recording::context::append_command_line_options): New method. (recording::context::m_command_line_options): New field. * libgccjit++.h (gccjit::context::add_command_line_option): New method. * libgccjit.c (gcc_jit_context_add_command_line_option): New API entrypoint. * libgccjit.h (gcc_jit_context_add_command_line_option): New API entrypoint. (LIBGCCJIT_HAVE_gcc_jit_context_add_command_line_option): New macro. * libgccjit.map: Put existing symbols within LIBGCCJIT_ABI_0; add LIBGCCJIT_ABI_1 and gcc_jit_context_add_command_line_option. gcc/testsuite/ChangeLog: Backport from mainline r225205 2015-06-30 David Malcolm <dmalcolm@redhat.com> PR jit/66628 * jit.dg/all-non-failing-tests.h: Add note about test-extra-options.c. * jit.dg/test-extra-options.c: New testcase. Added: branches/gcc-5-branch/gcc/jit/docs/topics/compatibility.rst branches/gcc-5-branch/gcc/testsuite/jit.dg/test-extra-options.c Modified: branches/gcc-5-branch/gcc/jit/ChangeLog branches/gcc-5-branch/gcc/jit/docs/_build/texinfo/libgccjit.texi branches/gcc-5-branch/gcc/jit/docs/cp/topics/contexts.rst branches/gcc-5-branch/gcc/jit/docs/topics/contexts.rst branches/gcc-5-branch/gcc/jit/docs/topics/index.rst branches/gcc-5-branch/gcc/jit/jit-playback.c branches/gcc-5-branch/gcc/jit/jit-recording.c branches/gcc-5-branch/gcc/jit/jit-recording.h branches/gcc-5-branch/gcc/jit/libgccjit++.h branches/gcc-5-branch/gcc/jit/libgccjit.c branches/gcc-5-branch/gcc/jit/libgccjit.h branches/gcc-5-branch/gcc/jit/libgccjit.map branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/testsuite/jit.dg/all-non-failing-tests.h
next prev parent reply other threads:[~2015-07-01 14:32 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-06-22 15:06 [Bug jit/66628] New: " dmalcolm at gcc dot gnu.org 2015-06-30 19:27 ` [Bug jit/66628] " dmalcolm at gcc dot gnu.org 2015-07-01 14:32 ` dmalcolm at gcc dot gnu.org [this message] 2015-07-01 15:08 ` 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-66628-4-eWqxwBk0Jp@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).