This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 0/3] Do not ICE on unsupported value of target attribute.
- From: marxin <mliska at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 13 Mar 2017 16:20:16 +0100
- Subject: [PATCH 0/3] Do not ICE on unsupported value of target attribute.
- Authentication-results: sourceware.org; auth=none
- Resent-user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
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