------- Comment #4 from jconner at gcc dot gnu dot org  2006-02-13 18:12 -------
Subject: Bug 25376

Author: jconner
Date: Mon Feb 13 18:12:17 2006
New Revision: 110917

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110917
Log:
PR target/25376
* varasm.c (function_section): Check for section name before
calling select_section on targets that define
USE_SELECT_SECTION_FOR_FUNCTIONS.  On other targets, use
unlikely_text_section instead of hot_function_section if
first_function_block_is_cold.
* gcc.dg/pr25376.c: New test.

* gcc.c-torture/compile/pr23237.c: Only compile test -- don't
assemble.
* lib/target-supports.exp (check_named_sections_available):
Only compile named-sections test -- don't assemble.


Added:
    trunk/gcc/testsuite/gcc.dg/pr25376.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.c-torture/compile/pr23237.c
    trunk/gcc/testsuite/lib/target-supports.exp
    trunk/gcc/varasm.c


-- 


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

Reply via email to