public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: marxin <mliska@suse.cz>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH 0/3] Do not ICE on unsupported value of target attribute.
Date: Mon, 13 Mar 2017 15:23:00 -0000	[thread overview]
Message-ID: <cover.1489418416.git.mliska@suse.cz> (raw)

Hello.

There are various targets that support target attribute. However do ICE
when one passes a wrong value. I hope displaying an error message
(similar to what we do on i386) is the proper thing.

Apart from that, multiversioning should not rely on just target ifunc
support.

Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
Tested with cross-compilers that it does not ICE any longer.

Thanks,
Martin

marxin (3):
  Error message on target attribute on power target (PR target/79906)
  Error message on target attribute on aarch64 target (PR target/79889).
  Verify that target can create a dispatcher call (PR target/79892).

 gcc/config/aarch64/aarch64.c   | 8 ++++++--
 gcc/config/rs6000/rs6000.c     | 5 ++++-
 gcc/multiple_target.c          | 7 +++++++
 gcc/testsuite/g++.dg/ext/mv8.C | 2 +-
 4 files changed, 18 insertions(+), 4 deletions(-)

-- 
2.11.1

             reply	other threads:[~2017-03-13 15:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-13 15:23 marxin [this message]
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 3/3] Verify that target can create a dispatcher call (PR target/79892) marxin
2017-03-14 11:05   ` Richard Biener
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-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=cover.1489418416.git.mliska@suse.cz \
    --to=mliska@suse.cz \
    --cc=gcc-patches@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: 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).