re PR target/31975 (segfault in try_split on mips during bootstrap)
authorDavid Daney <ddaney@avtrex.com>
Wed, 30 May 2007 04:21:24 +0000 (04:21 +0000)
committerDavid Daney <daney@gcc.gnu.org>
Wed, 30 May 2007 04:21:24 +0000 (04:21 +0000)
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
gcc/config/mips/mips.c

index 8dca30713986e40a4a9be6e9048b81308c040412..904a06bbd64d9308dd72c0b216cf113f0d07d115 100644 (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
index ba36ecec2338c0d855867294571da14735cff713..ddab40c1ffef32082c43d2e459cf0deff7cc72ce 100644 (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)