Commit 1b8ccb9d by Vladimir Makarov Committed by Vladimir Makarov

pr70669.c: Use unary minus instead of addition.

2018-11-23  Vladimir Makarov  <vmakarov@redhat.com>

	* gcc.target/powerpc/pr70669.c: Use unary minus instead of
	addition.

From-SVN: r266421
parent 0c3aba0c
2018-11-23 Vladimir Makarov <vmakarov@redhat.com>
* gcc.target/powerpc/pr70669.c: Use unary minus instead of
addition.
2018-11-23 Jakub Jelinek <jakub@redhat.com> 2018-11-23 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/87756 PR tree-optimization/87756
......
...@@ -13,7 +13,7 @@ void foo (TYPE *p, TYPE *q) ...@@ -13,7 +13,7 @@ void foo (TYPE *p, TYPE *q)
#ifndef NO_ASM #ifndef NO_ASM
__asm__ (" # %0" : "+r" (r)); __asm__ (" # %0" : "+r" (r));
#endif #endif
*p = r + r; *p = -r;
} }
/* { dg-final { scan-assembler "mfvsrd" } } */ /* { dg-final { scan-assembler "mfvsrd" } } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment