Re: [PATCH] c++: Fix apply_identity_attributes [PR102548]

2021-10-05 Thread Jason Merrill via Gcc-patches
On 10/5/21 03:50, Jakub Jelinek wrote: Hi! The following testcase ICEs on x86_64-linux with -m32 due to a bug in apply_identity_attributes. The function is being smart and attempts not to duplicate the chain unnecessarily, if either there are no attributes that affect type identity or there is

[PATCH] c++: Fix apply_identity_attributes [PR102548]

2021-10-05 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs on x86_64-linux with -m32 due to a bug in apply_identity_attributes. The function is being smart and attempts not to duplicate the chain unnecessarily, if either there are no attributes that affect type identity or there is possibly empty set of attributes that do