Commit e440de0e by David Daney Committed by David Daney

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
parent 9231eaac
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> 2007-05-29 Hui-May Chang <hm.chang@apple.com>
* config/i386/i386.c (ix86_function_regparm): Added checking of * config/i386/i386.c (ix86_function_regparm): Added checking of
ix86_force_align_arg_pointer to determine the number of ix86_force_align_arg_pointer to determine the number of
......
...@@ -7325,6 +7325,9 @@ mips_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, ...@@ -7325,6 +7325,9 @@ mips_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
no_new_pseudos = 1; no_new_pseudos = 1;
reload_completed = 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 /* Pick a global pointer. Use a call-clobbered register if
TARGET_CALL_SAVED_GP, so that we can use a sibcall. */ TARGET_CALL_SAVED_GP, so that we can use a sibcall. */
if (TARGET_USE_GOT) if (TARGET_USE_GOT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment