https://gcc.gnu.org/g:a96ebb2cd4de205c6d4ac6691117e4e96f8533e9

commit r15-4057-ga96ebb2cd4de205c6d4ac6691117e4e96f8533e9
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Oct 4 11:46:52 2024 +0200

    tree-optimization/99856 - fix testcase
    
    When making the testcase use aligned accesses I botched up the
    copy&paste.  Fixed.
    
            PR tree-optimization/99856
            * gcc.dg/vect/pr99856.c: Fix copy&paste errors.

Diff:
---
 gcc/testsuite/gcc.dg/vect/pr99856.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/vect/pr99856.c 
b/gcc/testsuite/gcc.dg/vect/pr99856.c
index e5d2a45be57f..1ff20c7bc564 100644
--- a/gcc/testsuite/gcc.dg/vect/pr99856.c
+++ b/gcc/testsuite/gcc.dg/vect/pr99856.c
@@ -17,8 +17,8 @@ opSourceOver_premul(uint8_t* restrict Rrgba,
                     const uint8_t* restrict Drgba, int len)
 {
   Rrgba = __builtin_assume_aligned (Rrgba, __BIGGEST_ALIGNMENT__);
-  Srgba = __builtin_assume_aligned (Rrgba, __BIGGEST_ALIGNMENT__);
-  Drgba = __builtin_assume_aligned (Rrgba, __BIGGEST_ALIGNMENT__);
+  Srgba = __builtin_assume_aligned (Srgba, __BIGGEST_ALIGNMENT__);
+  Drgba = __builtin_assume_aligned (Drgba, __BIGGEST_ALIGNMENT__);
   int i = 0;
   for (; i < len*4; i += 4)
     {

Reply via email to