re PR bootstrap/82553 (memory_blockage breaks bootstrap on powerpc)
authorUros Bizjak <ubizjak@gmail.com>
Sat, 14 Oct 2017 17:46:49 +0000 (19:46 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sat, 14 Oct 2017 17:46:49 +0000 (19:46 +0200)
PR bootstrap/82553
* optabs.c (expand_memory_blockage): Fix call of
targetm.have_memory_blockage.

From-SVN: r253759

gcc/ChangeLog
gcc/optabs.c

index 015e7108cf20bcf562e9e50b438b8e9e64c3eb48..865ab18a269c9ba0730ca95ed6b622db3bb14e05 100644 (file)
@@ -1,3 +1,9 @@
+2017-10-14  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR bootstrap/82553
+       * optabs.c (expand_memory_blockage): Fix call of
+       targetm.have_memory_blockage.
+
 2017-10-14  Jakub Jelinek  <jakub@redhat.com>
 
        PR bootstrap/82548
index 5369c18cbaf48c8c212593a9cef876cb3a3722e4..94092fc1594d72b0858967bdbf03411c923bd2bd 100644 (file)
@@ -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 ();