On Sun, 16 Mar 2025, Martin Uecker wrote:

> 
> Here is a small patch fixing an error recovery issue.
> 
> Bootstrapped and regression tested on x86_64.
> 
> 
> commit 465773af2bdd552184b935e5dc6b3db9e0e4e327
> Author: Martin Uecker <uec...@tugraz.at>
> Date:   Sat Mar 1 17:21:25 2025 +0100
> 
>     c: Fix ICE in error recovery when checking struct compatibility [PR118061]
>     
>     Return early when comparing two structures for compatibility
>     and the type of a member is erroneous.
>     
>             PR c/118061
>     
>     gcc/ChangeLog:
>             * c/c-typeck.cc (tagged_types_tu_compatible_p): Handle
>             errors in types of struct members.

This belongs in gcc/c/ChangeLog.  OK with that fix.

-- 
Joseph S. Myers
josmy...@redhat.com

Reply via email to