Re: [PATCH] ipa: ICF should check SSA_NAME_IS_DEFAULT_DEF

2021-08-13 Thread Jeff Law via Gcc-patches
On 8/13/2021 7:47 AM, Martin Liška wrote: Hello. Currently, the IPA ICF pass optimistically assumes that SSA NAMES do match. It's fine, but we should match SSA_NAME_IS_DEFAULT_DEF, otherwise we get the verification error where a pair of SSA_NAMEs is equal, but hash values do differ. Patc

[PATCH] ipa: ICF should check SSA_NAME_IS_DEFAULT_DEF

2021-08-13 Thread Martin Liška
Hello. Currently, the IPA ICF pass optimistically assumes that SSA NAMES do match. It's fine, but we should match SSA_NAME_IS_DEFAULT_DEF, otherwise we get the verification error where a pair of SSA_NAMEs is equal, but hash values do differ. Patch can bootstrap on x86_64-linux-gnu and survives r