[Bug target/14064] -fdata-sections triggers ICE

wilson at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 2 01:04:00 GMT 2004


------- Additional Comments From wilson at gcc dot gnu dot org  2004-09-02 01:04 -------
The suggested change is reasonable.  The AVR avr_unique_section function
predates the default_unique_section function in varasm.c which is much better,
and the avr_unique_section function has no AVR specific features, so we should
just use the default one instead.

The suggested patch is incomplete though.  There are 3 things that need to be
done.  Delete the avr_unique_section prototype, delete the avr_unique_section
function definition, and delete the TARGET_ASM_UNIQUE_SECTION definition.  Plus
the patch needs to be mailed to the gcc-patches list.

I have taken care of this, and checked in the patch to mainline.

I have not added the patch to the gcc-3.4.x branch, because technically it is
not a regression.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |wilson at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14064



More information about the Gcc-bugs mailing list