This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]