From: Richard Biener <richard.guenther@gmail.com>
To: marxin <mliska@suse.cz>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH 3/3] Verify that target can create a dispatcher call (PR target/79892).
Date: Tue, 14 Mar 2017 11:05:00 -0000 [thread overview]
Message-ID: <CAFiYyc3hO_Muk16CV_-CbN9aNKg448r0JUwOGiXk5NUCoSTLZg@mail.gmail.com> (raw)
In-Reply-To: <cd7eb359597e0c6d04a038b46451b024b435249e.1489418416.git.mliska@suse.cz>
On Mon, Mar 13, 2017 at 9:26 AM, marxin <mliska@suse.cz> wrote:
> gcc/ChangeLog:
Ok.
Richard.
> 2017-03-13 Martin Liska <mliska@suse.cz>
>
> * multiple_target.c (create_dispatcher_calls): Check that
> a target can create a function dispatcher.
> ---
> gcc/multiple_target.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/gcc/multiple_target.c b/gcc/multiple_target.c
> index 7b735ae81ae..cb792262d6e 100644
> --- a/gcc/multiple_target.c
> +++ b/gcc/multiple_target.c
> @@ -68,6 +68,13 @@ create_dispatcher_calls (struct cgraph_node *node)
> " supported by this target");
> break;
> }
> + else if (!targetm.get_function_versions_dispatcher)
> + {
> + error_at (gimple_location (call),
> + "target does not support function version dispatcher");
> + break;
> + }
> +
> e_next = e->next_caller;
> idecl = targetm.get_function_versions_dispatcher (decl);
> if (!idecl)
> --
> 2.11.1
>
next prev parent reply other threads:[~2017-03-14 11:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-13 15:23 [PATCH 0/3] Do not ICE on unsupported value of target attribute marxin
2017-03-13 15:23 ` [PATCH 2/3] Error message on target attribute on aarch64 target (PR target/79889) marxin
2017-03-21 9:21 ` Martin Liška
2017-03-21 9:24 ` Kyrill Tkachov
2017-04-03 7:26 ` Martin Liška
2017-04-07 11:14 ` James Greenhalgh
2017-03-13 15:23 ` [PATCH 1/3] Error message on target attribute on power target (PR target/79906) marxin
2017-03-21 9:20 ` Martin Liška
2017-03-21 16:11 ` Segher Boessenkool
2017-03-13 15:23 ` [PATCH 3/3] Verify that target can create a dispatcher call (PR target/79892) marxin
2017-03-14 11:05 ` Richard Biener [this message]
2017-03-14 10:24 ` [PATCH 4/N] Do not ICE on an invalid input for MV Martin Liška
2017-03-14 11:09 ` Richard Biener
2017-03-14 12:24 ` Martin Liška
2017-03-14 13:47 ` Richard Biener
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=CAFiYyc3hO_Muk16CV_-CbN9aNKg448r0JUwOGiXk5NUCoSTLZg@mail.gmail.com \
--to=richard.guenther@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=mliska@suse.cz \
/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: link
Be 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).