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]

[PATCH/RFA] SH: Fix typo


Hi,

I found a typo in sh.c when I was tracing an another problem.
Can I check it in as an obvious fix?

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

--- ORIG/gcc/gcc/config/sh/sh.c	Fri Oct  8 08:17:13 2004
+++ LOCAL/gcc/gcc/config/sh/sh.c	Tue Oct 19 06:37:19 2004
@@ -5329,8 +5333,8 @@ sh5_schedule_saves (HARD_REG_SET *live_r
 	  && ! (cfun->static_chain_decl != NULL && i == STATIC_CHAIN_REGNUM)
 	  && ! (current_function_calls_eh_return
 		&& (i == EH_RETURN_STACKADJ_REGNO
-		    || ((unsigned) i <= EH_RETURN_DATA_REGNO (0)
-			&& (unsigned) i >= EH_RETURN_DATA_REGNO (3)))))
+		    || ((unsigned) i >= EH_RETURN_DATA_REGNO (0)
+			&& (unsigned) i <= EH_RETURN_DATA_REGNO (3)))))
 	schedule->temps[tmpx++] = i;
   entry->reg = -1;
   entry->mode = VOIDmode;


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