re PR bootstrap/45680 (cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing)

Fix PR45680.

2010-09-16  Reza Yazdani  <reza.yazdani@amd.com>

	PR bootstrap/45680
	* config/i386/i386.c (min_insn_size): Moved out of the
	ASM_OUTPUT_MAX_SKIP_PAD ifdef.

From-SVN: r164345
This commit is contained in:
Reza Yazdani 2010-09-16 17:19:25 +00:00 committed by Sebastian Pop
parent 0cac82a0d3
commit 782d5172bb
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-09-16 Reza Yazdani <reza.yazdani@amd.com>
PR bootstrap/45680
* config/i386/i386.c (min_insn_size): Moved out of the
ASM_OUTPUT_MAX_SKIP_PAD ifdef.
2010-09-16 Jan Hubicka <jh@suse.cz>
* lto-cgraph.c (lto_output_node): Fix handling of clones.

View File

@ -27564,7 +27564,6 @@ x86_function_profiler (FILE *file, int labelno ATTRIBUTE_UNUSED)
}
}
#ifdef ASM_OUTPUT_MAX_SKIP_PAD
/* We don't have exact information about the insn sizes, but we may assume
quite safely that we are informed about all 1 byte insns and memory
address sizes. This is enough to eliminate unnecessary padding in
@ -27626,6 +27625,8 @@ min_insn_size (rtx insn)
return 2;
}
#ifdef ASM_OUTPUT_MAX_SKIP_PAD
/* AMD K8 core mispredicts jumps when there are more than 3 jumps in 16 byte
window. */