diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 015e7108cf2..865ab18a269 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-10-14 Uros Bizjak + + PR bootstrap/82553 + * optabs.c (expand_memory_blockage): Fix call of + targetm.have_memory_blockage. + 2017-10-14 Jakub Jelinek PR bootstrap/82548 diff --git a/gcc/optabs.c b/gcc/optabs.c index 5369c18cbaf..94092fc1594 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -6297,7 +6297,7 @@ expand_asm_memory_blockage (void) static void expand_memory_blockage (void) { - if (targetm.have_memory_blockage) + if (targetm.have_memory_blockage ()) emit_insn (targetm.gen_memory_blockage ()); else expand_asm_memory_blockage ();