Error message on target attribute on power target (PR target/79906)

2017-03-22  Martin Liska  <mliska@suse.cz>

	PR target/79906
	* config/rs6000/rs6000.c (rs6000_inner_target_options): Show
	error message instead of an ICE.
2017-03-22  Martin Liska  <mliska@suse.cz>

	PR target/79906
	* g++.dg/ext/mv8.C: Add power* targets.

From-SVN: r246345
This commit is contained in:
Martin Liska 2017-03-22 10:21:56 +01:00 committed by Martin Liska
parent 17ceee7c27
commit f7325b95de
4 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2017-03-22 Martin Liska <mliska@suse.cz>
PR target/79906
* config/rs6000/rs6000.c (rs6000_inner_target_options): Show
error message instead of an ICE.
2017-03-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* doc/extend.texi (6.11 Additional Floating Types): Revise.

View File

@ -39270,7 +39270,10 @@ rs6000_inner_target_options (tree args, bool attr_p)
}
else
gcc_unreachable ();
{
error ("attribute %<target%> argument not a string");
return false;
}
return ret;
}

View File

@ -1,3 +1,8 @@
2017-03-22 Martin Liska <mliska@suse.cz>
PR target/79906
* g++.dg/ext/mv8.C: Add power* targets.
2017-03-21 Martin Sebor <msebor@redhat.com>
PR c++/79548

View File

@ -1,4 +1,4 @@
// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-do compile { target i?86-*-* x86_64-*-* powerpc*-*-* } }
// { dg-options "" }
__attribute__((target (11,12)))