[Bug ipa/92606] [11/12/13 Regression][avr] invalid merge of symbols in progmem and data sections
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 12 14:49:45 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92606
--- Comment #31 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
This is Maritn's code, but I agree that equals_wpa should reject pairs with
"dangerous" attributes on them (ideally we should hash them).
I think we could add test for same attributes to equals_wpa and eventually
white list attributes we consider mergeable?
There are attributes that serves no meaning once we enter backend, so it may be
also good option to strip them, so they are not confusing passes like ICF.
More information about the Gcc-bugs
mailing list