The patch for this has already been submitted to gcc-patches:

http://gcc.gnu.org/ml/gcc-patches/2005-04/msg01240.html

-- Caroline Tice
[EMAIL PROTECTED]

On Apr 12, 2005, at 6:04 AM, Diego Novillo wrote:

I have been using this crutch for the last couple of days to be
able to get mainline to bootstrap with java enabled.

Index: varasm.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/varasm.c,v
retrieving revision 1.495
diff -u -3 -p -r1.495 varasm.c
--- varasm.c    9 Apr 2005 20:41:49 -0000       1.495
+++ varasm.c    10 Apr 2005 22:39:41 -0000
@@ -308,6 +308,7 @@ in_unlikely_text_section (void)

       ret_val = ((in_section == in_unlikely_executed_text)
                 || (in_section == in_named
+                    && cfun
                     && cfun->unlikely_text_section_name
                     && strcmp (in_named_name,
                                cfun->unlikely_text_section_name) == 0));


I know we are in stage1 and all, but shouldn't the timer have started already for whatever patch broke mainline on 2005-04-10?

From the breakage, it seems that this change is at fault:

+2005-04-09 Caroline Tice <[EMAIL PROTECTED]>
+
+ * bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges):
+ Remove targetm.have_named_sections test.
+ (fix_edges_for_rarely_executed_code): Likewise.
+ (insert_section_boundary_note): Likewise.
+ (reorder_basic_blocks): Check partitioning flag before calling
+ verify_hot_cold_block_grouping.
+ * dbxout.c (dbxout_function_end): Get hot/cold section labels from
+ the function struct rather than global variables.
+ * dwarf2out.c (COLD_TEXT_SECTION_LABEL): New macro.
+ (COLD_END_LABEL): Likewise
[ ... ]


But I'm not 100% sure that this is the case.


Diego.




Reply via email to