Re: [PATCH] aarch64: Add missing error_mark_node check [PR99381]

2021-03-04 Thread Richard Sandiford via Gcc-patches
Alex Coplan 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 regtest

[PATCH] aarch64: Add missing error_mark_node check [PR99381]

2021-03-04 Thread Alex Coplan via Gcc-patches
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 tru