diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-03-25 13:19:32 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-03-25 13:19:32 +0100 |
commit | 935ec2c9dd833d385de3da9865fcd8fa55e57bcf (patch) | |
tree | f93ec9b95ccfae8d68b9c954382f708915c1548c | |
parent | d53c73e02c3907858fcb41a86906b71501e91397 (diff) | |
download | gcc-935ec2c9dd833d385de3da9865fcd8fa55e57bcf.zip gcc-935ec2c9dd833d385de3da9865fcd8fa55e57bcf.tar.gz gcc-935ec2c9dd833d385de3da9865fcd8fa55e57bcf.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 6 insertions, 0 deletions
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 <jakub@redhat.com> + 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); |