On Sat, 27 Dec 2025, Martin Uecker wrote:

> Bootstrapped and regression tested on x86_64.
> 
> 
>     c: Fix construction of composite type for atomic pointers [PR121081]
>     
>     When constructing the composite type of two atomic pointer types,
>     we used "qualify_type" which did not copy the "atomic" qualifier.
>     Use c_build_type_attribute_qual_variant instead.
>     
>             PR c/121081
>     
>     gcc/c/ChangeLog:
>             * c-typeck.cc (composite_type_internal): Properly copy
>             atomic qualifier.
>     
>     testsuite/ChangeLog:
>             * gcc.dg/pr121081.c: New test.

OK.

-- 
Joseph S. Myers
[email protected]

Reply via email to