From 935ec2c9dd833d385de3da9865fcd8fa55e57bcf Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 25 Mar 2010 13:19:32 +0100 Subject: re PR bootstrap/43511 (Configure error at stage 1 in i386/libgomp) PR bootstrap/43511 * config/i386/i386.c (ix86_code_end): Set DECL_WEAK if TARGET_MACHO. Clear first_function_block_is_cold. From-SVN: r157723 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.c | 2 ++ 2 files changed, 6 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f4a22c8..73dd222 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2010-03-25 Jakub Jelinek + PR bootstrap/43511 + * config/i386/i386.c (ix86_code_end): Set DECL_WEAK if TARGET_MACHO. + Clear first_function_block_is_cold. + PR c/43385 * gimplify.c (gimple_boolify): Only recurse on __builtin_expect argument if the argument is truth_value_p. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index da2a981..35b4c49 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -7614,6 +7614,7 @@ ix86_code_end (void) assemble_name (asm_out_file, name); fputs ("\n", asm_out_file); ASM_OUTPUT_LABEL (asm_out_file, name); + DECL_WEAK (decl) = 1; } else #endif @@ -7639,6 +7640,7 @@ ix86_code_end (void) DECL_INITIAL (decl) = make_node (BLOCK); current_function_decl = decl; init_function_start (decl); + first_function_block_is_cold = false; /* Make sure unwind info is emitted for the thunk if needed. */ final_start_function (emit_barrier (), asm_out_file, 1); -- cgit v1.1