On Thu, 20 Jun 2024, Jakub Jelinek wrote:

> 2024-06-19  Jakub Jelinek  <ja...@redhat.com>
>           Martin Uecker  <uec...@tugraz.at>
> 
>       PR c/114930
>       PR c/115502
> gcc/c/
>       * c-decl.cc (c_update_type_canonical): Assert t is main variant
>       with 0 TYPE_QUALS.  Simplify and don't use check_qualified_type.
>       Deal with the case where build_qualified_type returns
>       TYPE_STRUCTURAL_EQUALITY_P type.
> gcc/testsuite/
>       * gcc.dg/pr114574-1.c: Require lto effective target.
>       * gcc.dg/pr114574-2.c: Likewise.
>       * gcc.dg/pr114930.c: New test.
>       * gcc.dg/pr115502.c: New test.

OK unless someone identifies problems with this patch within 48 hours.

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

Reply via email to