[PATCH] c-family: Fix error-recovery ICE on __builtin_speculation_safe_value [PR94968]

Marek Polacek polacek@redhat.com
Thu May 7 12:25:46 GMT 2020


On Thu, May 07, 2020 at 09:42:32AM +0200, Jakub Jelinek wrote:
> Hi!
> 
> If the second argument of __builtin_speculation_safe_value is
> error_mark_node (or has such a type), we ICE during
> useless_typ_conversion_p.
> 
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk?

Ok, thanks.

Marek



More information about the Gcc-patches mailing list