From e440de0e40f9719083e638a1f8e8be79c6fbe0ad Mon Sep 17 00:00:00 2001 From: David Daney Date: Wed, 30 May 2007 04:21:24 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/mips/mips.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8dca3071398..904a06bbd64 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-05-29 David Daney * config/i386/i386.c (ix86_function_regparm): Added checking of ix86_force_align_arg_pointer to determine the number of diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index ba36ecec233..ddab40c1ffe 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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)