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

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

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

commit r11-7510-ga6bc1680a493de356d6a381718021c6a44401201
Author: Alex Coplan <alex.cop...@arm.com>
Date:   Thu Mar 4 14:36:39 2021 +0000

    aarch64: Add missing error_mark_node check [PR99381]

    We were missing a check in function_resolver::require_vector_type to see
    if the argument type was already invalid. This was causing us to attempt
    to emit a diagnostic and subsequently ICE in print_type. Fixed thusly.

    gcc/ChangeLog:

            PR target/99381
            * config/aarch64/aarch64-sve-builtins.cc
            (function_resolver::require_vector_type): Handle error_mark_node.

    gcc/testsuite/ChangeLog:

            PR target/99381
            * gcc.target/aarch64/pr99381.c: New test.

Reply via email to