https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83805
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #1) > If so, avr should override the select_section and unique_section target > hooks and return something different for the __flash strings. I am just working on a patch to fix PR83801 which adds STRING_CST handling to the hooks (v7.2 passed VAR_DECL instead of STRING_CST). But even with that patch I am getting wrong results for the code above. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83801#c2 avr doesn't implement TARGET_ASM_UNIQUE_SECTION, but when I supply that hook (atop of the patch above) then this hook is never called for the test case...