diff options
author | Richard Henderson <rth@redhat.com> | 2016-01-14 13:36:12 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2016-01-14 13:36:12 -0800 |
commit | 47c147b03f38ea4218847a77e719584ad47e7d89 (patch) | |
tree | 7857280d909be5bd6097cfa4d808f5c132806b8d /gcc/tree.c | |
parent | 4318655262314b8c558b07e9f7b4a98a806b25b4 (diff) | |
download | gcc-47c147b03f38ea4218847a77e719584ad47e7d89.zip gcc-47c147b03f38ea4218847a77e719584ad47e7d89.tar.gz gcc-47c147b03f38ea4218847a77e719584ad47e7d89.tar.bz2 |
re PR c/69272 (ICE: in c_builtin_function, at c/c-decl.c:4020 with -fgnu-tm)
PR c/69272
PR tree-opt/68964
* trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
* tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
instead of builtin_decl_declared_p to test for declaration.
From-SVN: r232390
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10393,7 +10393,7 @@ build_tm_vector_builtins (void) /* By default, 64 bit vectors go through the long long helpers. */ /* If a 128-bit vector is supported, declare those builtins. */ - if (!builtin_decl_declared_p (BUILT_IN_TM_STORE_M128) + if (!builtin_decl_explicit_p (BUILT_IN_TM_STORE_M128) && ((vtype = find_tm_vector_type (128, SImode)) || (vtype = find_tm_vector_type (128, SFmode)))) { @@ -10430,7 +10430,7 @@ build_tm_vector_builtins (void) } /* If a 256-bit vector is supported, declare those builtins. */ - if (!builtin_decl_declared_p (BUILT_IN_TM_STORE_M256) + if (!builtin_decl_explicit_p (BUILT_IN_TM_STORE_M256) && ((vtype = find_tm_vector_type (256, SImode)) || (vtype = find_tm_vector_type (256, SFmode)))) { |