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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kyrylo Tkachov <ktkac...@gcc.gnu.org>:

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

commit r11-7913-gc277abd9cd3d10db59f9965d7d6356868da42a9f
Author: Kyrylo Tkachov <kyrylo.tkac...@arm.com>
Date:   Tue Mar 30 16:42:17 2021 +0100

    aarch64: PR target/99820: Guard on available SVE issue info before using

    This fixes a simple segfault ICE when using the use_new_vector_costs
tunable with a CPU tuning that it wasn't intended for.
    I'm not adding a testcase here as we intend to remove the tunable for GCC
12 anyway (the new costing logic will remain and will benefit
    from this extra check, but the -moverride option will no longer exist).

    gcc/ChangeLog:

            PR target/99820
            * config/aarch64/aarch64.c (aarch64_analyze_loop_vinfo): Check for
            available issue_info before using it.

Reply via email to