aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2007-05-30 04:21:24 +0000
committerDavid Daney <daney@gcc.gnu.org>2007-05-30 04:21:24 +0000
commite440de0e40f9719083e638a1f8e8be79c6fbe0ad (patch)
tree72ee9c4ba22fa941e26729910350dfe3f9f4a0d5
parent9231eaaccbb7b4c9b16fb1fd47c9be3efdcfb487 (diff)
downloadgcc-e440de0e40f9719083e638a1f8e8be79c6fbe0ad.zip
gcc-e440de0e40f9719083e638a1f8e8be79c6fbe0ad.tar.gz
gcc-e440de0e40f9719083e638a1f8e8be79c6fbe0ad.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mips/mips.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8dca307..904a06b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index ba36ece..ddab40c 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)