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

--- Comment #15 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
commit r15-3488-gae88e91938af364ef5613e5461b12b484b578bc5
Author: Prathamesh Kulkarni <prathame...@nvidia.com>
Date:   Thu Sep 5 18:52:53 2024 +0530

    Avoid ICE when passing VLA vector to accelerator.

    gcc/ChangeLog:
            * gimplify.cc (omp_add_variable): Check if decl size is not
poly_int_tree_p.
            (gimplify_adjust_omp_clauses): Likewise.
            * omp-low.cc (scan_sharing_clauses): Likewise.
            (lower_omp_target): Likewise.

    Signed-off-by: Prathamesh Kulkarni <prathame...@nvidia.com>

Reply via email to