mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 20:51:45 +08:00
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
This commit is contained in:
parent
85799cb98e
commit
4b9f07ebf3
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user