Commit 4b9f07eb by Andreas Krebbel Committed by Andreas Krebbel

S/390: Fix check for builtins valid with -mhtm

	* gcc/config/s390/s390.c (s390_expand_builtin): Exlude non-htm
	builtins from checking for -mhtm option.

From-SVN: r221184
parent 85799cb9
2015-03-04 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* gcc/config/s390/s390.c (s390_expand_builtin): Exlude non-htm
builtins from checking for -mhtm option.
2015-03-03 Jan Hubicka <hubicka@ucw.cz>
* tree-sra.c (convert_callers): Use call_for_symbol_and_aliases.
......
......@@ -10122,7 +10122,7 @@ s390_expand_builtin (tree exp, rtx target, rtx subtarget ATTRIBUTE_UNUSED,
if (icode == 0)
internal_error ("bad builtin fcode");
if (!TARGET_HTM)
if (!TARGET_HTM && fcode <= S390_BUILTIN_TX_ASSIST)
error ("Transactional execution builtins not enabled (-mhtm)\n");
/* Set a flag in the machine specific cfun part in order to support
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment