mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-04 14:51:06 +08:00
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
This commit is contained in:
parent
0c3aba0cb8
commit
1b8ccb9d55
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
PR tree-optimization/87756
|
||||
|
@ -13,7 +13,7 @@ void foo (TYPE *p, TYPE *q)
|
||||
#ifndef NO_ASM
|
||||
__asm__ (" # %0" : "+r" (r));
|
||||
#endif
|
||||
*p = r + r;
|
||||
*p = -r;
|
||||
}
|
||||
|
||||
/* { dg-final { scan-assembler "mfvsrd" } } */
|
||||
|
Loading…
x
Reference in New Issue
Block a user