Commit f9c29a5b by Jeff Law Committed by Jeff Law

re PR testsuite/66796 (FAIL: gcc.target/hppa/shadd-1.c scan-assembler-times sh.add 1)

       PR testsuite/66796
        * gcc.target/hppa/shadd-1.c: Avoid the read-modify-write so as
        to have a single memory reference.

From-SVN: r225586
parent a9dcd529
2015-07-08 Jeff Law <law@redhat.com>
PR testsuite/66796
* gcc.target/hppa/shadd-1.c: Avoid the read-modify-write so as
to have a single memory reference.
2015-07-08 Eric Botcazou <ebotcazou@adacore.com> 2015-07-08 Eric Botcazou <ebotcazou@adacore.com>
* g++.dg/other/dump-ada-spec-9.C: New test. * g++.dg/other/dump-ada-spec-9.C: New test.
......
...@@ -12,5 +12,5 @@ __sigaddset (__sigset_t * __set, int __sig, int __stuff) ...@@ -12,5 +12,5 @@ __sigaddset (__sigset_t * __set, int __sig, int __stuff)
{ {
unsigned long int __word = unsigned long int __word =
(((__sig) - 1) / (8 * sizeof (unsigned long int))); (((__sig) - 1) / (8 * sizeof (unsigned long int)));
return __set->__val[__word] |= __stuff; return __set->__val[__word] = __stuff;
} }
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