On Wed, 26 Mar 2025, Martin Uecker wrote: > I looked at this again and do not need a workaround anymore. > > I did not implement any restrictions preventing typedef > redeclarations from having different alignment, because > merge_decls does not include any such restrictions at this > time. I could write another patch for this, but I think > this would be an unrelated change. > > Bootstrapped and regression tested on x86_64. > > > > c: Fix tagname confusion for typedef redefinitions [PR118765] > > When we redefine a typedef for a tagged type that has just been > redefined, merge_decls may produce invalid TYPE_DECLS that are not > consistent with what set_underlying_type produces. This is fixed > by updating DECL_ORIGINAL_TYPE.
OK. -- Joseph S. Myers josmy...@redhat.com