https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121516

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by David Malcolm <dmalc...@gcc.gnu.org>:

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

commit r16-3171-gd6d1fa0039e68e52c3d787d90b545842cbb24d32
Author: David Malcolm <dmalc...@redhat.com>
Date:   Tue Aug 12 21:46:41 2025 -0400

    jit: don't use &vect[0] in libgccjit++.h [PR121516]

    gcc/jit/ChangeLog:
            PR jit/121516
            * libgccjit++.h (context::new_struct_type): Replace use of
            &fields[0] with fields.data ().
            (context::new_function): Likewise for params.
            (context::new_rvalue): Likewise for elements.
            (context::new_call): Likewise for args.
            (block::end_with_switch): Likewise for cases.
            (block::end_with_extended_asm_goto): Likewise for goto_blocks.
            (context::new_struct_ctor): Likewise for fields and values.
            (context::new_array_ctor): Likewise for values.

    Signed-off-by: David Malcolm <dmalc...@redhat.com>

Reply via email to