[gcc r14-12809] [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:736b8a9e2c9d78be31aed8905e012c7e1d233544

commit r14-12809-g736b8a9e2c9d78be31aed8905e012c7e1d233544
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.
    
    (cherry picked from commit e26d50c48017978e2fcdf9c9ce847ca053094c77)

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 96bb7c201478..5d3fcf027bce 100644
--- a/gcc/config/riscv/riscv-v.cc
+++ b/gcc/config/riscv/riscv-v.cc
@@ -1415,7 +1415,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, tmp);
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.