On Fri, 15 Nov 2024, Martin Uecker wrote:

> Bootstrapped and regression tested on x86_64.
> 
> 
>     c: Fix ICE when forming composite type for two structures / unions 
> [PR117548]
>     
>     When forming the composite type from two tagged type, we need to find the
>     original type for a typedecl to get the correct tag.
>     
>             PR c/117548
>     
>     gcc/ChangeLog:
>             * c/c-decl.cc (finish_struct): Add checking assertion.
>             * c/c-typeck.cc (c_type_original): New function.
>             (composite_types_internal): Get tag from original type.
>     
>     gcc/testsuite/ChangeLog:
>             * gcc.dg/pr117548.c: New test.

OK, with ChangeLog entries for gcc/c moved to gcc/c/ChangeLog.

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

Reply via email to