[Bug middle-end/46671] [4.6 Regression] ICE in default_no_named_section, at varasm .c:5994

dave at hiauly1 dot hia.nrc.ca gcc-bugzilla@gcc.gnu.org
Fri Dec 3 17:22:00 GMT 2010


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

--- Comment #6 from dave at hiauly1 dot hia.nrc.ca 2010-12-03 17:22:07 UTC ---
On Fri, 03 Dec 2010, ro at CeBiTec dot Uni-Bielefeld.DE wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46671
> 
> --- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2010-12-03 15:21:51 UTC ---
> Jan, your patch has broken bootstrap on two platforms for a week now,
> and there's not even an indication that you're looking at the problem.
> Please fix or revert ASAP.

The implementation of default_function_section in the change is elf
specific.  As a result, all targets that don't use elf sections are broken
by the change.  Even if I define TARGET_ASM_FUNCTION_SECTION, this
will still leave the other targets that don't use elf sections broken.
Elf sections were never the default before.

The change was applied during stage3 and it wasn't a bug fix.  So, the
commit was questionable.

Dave



More information about the Gcc-bugs mailing list