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
This commit is contained in:
Uros Bizjak 2017-10-14 19:46:49 +02:00 committed by Uros Bizjak
parent 0fcd7270b6
commit 6af90df0e4
2 changed files with 7 additions and 1 deletions

View 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

View 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 ();