re PR target/31975 (segfault in try_split on mips during bootstrap)

PR gcc/31975
	* config/mips/mips.c (mips_output_mi_thunk): Emit
	NOTE_INSN_PROLOGUE_END at beginning of the thunk.

From-SVN: r125178
This commit is contained in:
David Daney 2007-05-30 04:21:24 +00:00 committed by David Daney
parent 9231eaaccb
commit e440de0e40
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-05-29 David Daney <ddaney@avtrex.com
PR gcc/31975
* config/mips/mips.c (mips_output_mi_thunk): Emit
NOTE_INSN_PROLOGUE_END at beginning of the thunk.
2007-05-29 Hui-May Chang <hm.chang@apple.com>
* config/i386/i386.c (ix86_function_regparm): Added checking of
ix86_force_align_arg_pointer to determine the number of

View File

@ -7325,6 +7325,9 @@ mips_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
no_new_pseudos = 1;
reload_completed = 1;
/* Mark the end of the (empty) prologue. */
emit_note (NOTE_INSN_PROLOGUE_END);
/* Pick a global pointer. Use a call-clobbered register if
TARGET_CALL_SAVED_GP, so that we can use a sibcall. */
if (TARGET_USE_GOT)