Alex Coplan <alex.cop...@arm.com> writes:
> Hi!
>
> As the PR shows, 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.
>
> Bootstrapped and regtested on aarch64-linux-gnu. OK for trunk?
>
> Thanks,
> Alex
>
> ---
>
> gcc/ChangeLog:
>
>       PR target/99381
>       * config/aarch64/aarch64-sve-builtins.cc
>       (function_resolver::require_vector_type): Handle error_mark_node.
>
> gcc/testsuite/ChangeLog:
>
>       * gcc.target/aarch64/pr99381.c: New test.

OK, thanks.  It would be good to backport to GCC 10 too if possible
(pre-approved).

Richard

Reply via email to