https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112952
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |avr
Known to fail| |13.2.0, 8.5.0
Keywords| |wrong-code
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Compile the follwing test with avr-gcc ... -fdata-sections -fno-common -S
__attribute__((__address__(0)))
char __flmap;
The generates assembly reads:
.global __flmap
.section .bss.__flmap,"aw",@nobits
.type __flmap, @object
.size __flmap, 1
__flmap:
.zero 1
but the expected code is:
.globl __flmap
__flmap = 0
This problem becomes more pronounced as v10 switched from -fcommon to
-fno-common as the default.