On Sat, 7 Jun 2025, Martin Uecker wrote:

> This fixes a case where we invoke composite_type with types
> that do not have matching qualifiers.  With this change, we can
> activate the checking assertion that makes sure the composite
> type is compatible with the two original types also for arrays.
> 
>       PR c/120510
> 
> gcc/c/ChangeLog:
>       * c-typeck.c (composite_type_internal): Activate checking
>       assertion for arrays.
>       (common_pointer_type): Remove qualifiers also from arrays.

OK.

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

Reply via email to