[gcc r15-11469] [RISC-V] Fix typo in manually merged patch

Jeff Law via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:e26d50c48017978e2fcdf9c9ce847ca053094c77

commit r15-11469-ge26d50c48017978e2fcdf9c9ce847ca053094c77
Author: Jeff Law <[email protected]>
Date:   Tue Aug 11 07:15:58 2026 -0600

    [RISC-V] Fix typo in manually merged patch
    
            PR target/126550
    gcc/
            * config/riscv/riscv-v.cc (expand_const_vector): Fix typo in manually
            merged patch.

Diff:
---
 gcc/config/riscv/riscv-v.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/riscv/riscv-v.cc b/gcc/config/riscv/riscv-v.cc
index 2ce6bdeb87ec..085986e91aeb 100644
--- a/gcc/config/riscv/riscv-v.cc
+++ b/gcc/config/riscv/riscv-v.cc
@@ -1458,7 +1458,7 @@ expand_const_vector (rtx target, rtx src)
 		  rtx tmp2 = gen_reg_rtx (builder.mode ());
 		  rtx step
 		    = simplify_binary_operation (MINUS, builder.inner_mode (),
-						 builder->elt (builder->npatterns ()),
+						 builder.elt (builder.npatterns ()),
 						 builder.elt (0));
 		  expand_vec_series (tmp2, const0_rtx, step, tmp1);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.