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
This commit is contained in:
Jakub Jelinek 2010-03-25 13:19:32 +01:00 committed by Jakub Jelinek
parent d53c73e02c
commit 935ec2c9dd
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -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);