[Bug target/50739] [avr] nameless error with -fmerge-all-constants

saaadhu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 6 11:41:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50739

--- Comment #4 from Senthil Kumar Selvaraj <saaadhu at gcc dot gnu.org> ---
Author: saaadhu
Date: Wed Jul  6 11:40:17 2016
New Revision: 238041

URL: https://gcc.gnu.org/viewcvs?rev=238041&root=gcc&view=rev
Log:
Fix PR target/50739

This patch fixes a problem with fmerge-all-constants and the progmem
attribute.

gcc/

        PR target/50739 
        * config/avr/avr.c (avr_asm_select_section): Strip off
        SECTION_DECLARED from flags when calling get_section.

testsuite/

        PR target/50739 
        * gcc.target/avr/pr50739.c: New test


Added:
    trunk/gcc/testsuite/gcc.target/avr/pr50739.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/avr/avr.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list