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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alexandre Oliva <aol...@gcc.gnu.org>:

https://gcc.gnu.org/g:76ca5ab4ef95c41c1ed67edfb34a1a455a602192

commit r14-6429-g76ca5ab4ef95c41c1ed67edfb34a1a455a602192
Author: Alexandre Oliva <ol...@adacore.com>
Date:   Mon Dec 11 15:09:22 2023 -0300

    -finline-stringops: don't assume ptr_mode ptr in memset [PR112804]

    On aarch64 -milp32, and presumably on other such targets, ptr can be
    in a different mode than ptr_mode in the testcase.  Cope with it.


    for  gcc/ChangeLog

            PR target/112804
            * builtins.cc (try_store_by_multiple_pieces): Use ptr's mode
            for the increment.

    for  gcc/testsuite/ChangeLog

            PR target/112804
            * gcc.target/aarch64/inline-mem-set-pr112804.c: New.

Reply via email to