public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Do not ICE on unsupported value of target attribute.
@ 2017-03-13 15:23 marxin
  2017-03-13 15:23 ` [PATCH 2/3] Error message on target attribute on aarch64 target (PR target/79889) marxin
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: marxin @ 2017-03-13 15:23 UTC (permalink / raw)
  To: gcc-patches

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-04-07 11:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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

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).