From 6af90df0e442b8317844bc5af96ecda4af4c2008 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sat, 14 Oct 2017 19:46:49 +0200 Subject: [PATCH] re PR bootstrap/82553 (memory_blockage breaks bootstrap on powerpc) PR bootstrap/82553 * optabs.c (expand_memory_blockage): Fix call of targetm.have_memory_blockage. From-SVN: r253759 --- gcc/ChangeLog | 6 ++++++ gcc/optabs.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 (); -- 2.30.2