This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14064] -fdata-sections triggers ICE
- From: "wilson at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2004 01:04:45 -0000
- Subject: [Bug target/14064] -fdata-sections triggers ICE
- References: <20040207184406.14064.berndtrog@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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