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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:615a92a1e6a90bcb012deb216cd141266b0954a0

commit r15-9817-g615a92a1e6a90bcb012deb216cd141266b0954a0
Author: Andrew Pinski <quic_apin...@quicinc.com>
Date:   Wed Apr 30 15:10:29 2025 -0700

    vectorizer: Fix riscv build [PR120042]

    r15-9859-ga6cfde60d8c added a call to dominated_by_p to tree-vectorizer.h
    but dominance.h is not always included; and you get a build failure on
riscv building
    riscv-vector-costs.cc.

    Let's add the include of dominance.h to tree-vectorizer.h

    Pushed as obvious after builds for riscv and x86_64.

    gcc/ChangeLog:

            PR target/120042
            * tree-vectorizer.h: Include dominance.h.

    Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>
    (cherry picked from commit 299d48ff4a34c00a6ef964b694fb9b1312683049)

Reply via email to