This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [dataflow]: PATCH COMMITED to fix dce one last time.


Hi,

Kenneth Zadeck <zadeck@naturalbridge.com> wrote:
> 2007-05-23 Kenneth Zadeck <zadeck@naturalbridge.com>
> 
>     * df-scan.c (df_get_regular_block_artificial_uses): Set the
>     HARD_FRAME_POINTER not the FRAME_POINTER after reload.  Set both
>     the HARD_FRAME_POINTER and the FRAME_POINTER before reload.
>     * dse.c (const_or_frame_p): Removed unnecessary test.
>     * config/s390/s390.c (s390_emit_prologue): Removed REG_MAYBE_DEAD
>     notes.
>     * config/spu/spu.c (frame_emit_add_imm, spu_expand_prologue): Ditto.
>     * config/i386/i386.c (ix86_expand_prologue): Ditto.
>     * config/sh/sh.c (sh_expand_prologue): Ditto.

The SH portion has a typo causing a build failure on
sh4-unknown-linux-gnu:

../../ORIG/dataflow/gcc/config/sh/sh.c: In function 'sh_expand_prologue':
../../ORIG/dataflow/gcc/config/sh/sh.c:6214: error: expected expression before 'rtx'

The attached obvious patch fixes it.

Regards,
	kaz
--
	* config/sh/sh.c (sh_expand_prologue): Fix typo.

--- ORIG/dataflow/gcc/config/sh/sh.c	2007-05-23 22:03:52.000000000 +0900
+++ LOCAL/dataflow/gcc/config/sh/sh.c	2007-05-23 22:48:49.000000000 +0900
@@ -6211,8 +6211,8 @@ sh_expand_prologue (void)
       int tr = sh_media_register_for_return ();
 
       if (tr >= 0)
-	rtx insn = emit_move_insn (gen_rtx_REG (DImode, tr),
-				   gen_rtx_REG (DImode, PR_MEDIA_REG));
+	emit_move_insn (gen_rtx_REG (DImode, tr),
+			gen_rtx_REG (DImode, PR_MEDIA_REG));
     }
 
   /* Emit the code for SETUP_VARARGS.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]