From: Jason Merrill Date: Fri, 14 Aug 1998 16:28:30 +0000 (-0400) Subject: i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63be02dbae005d1fe195538d17abb76cc28e6e8e;p=gcc.git i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings. * i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings. * alias.c (memrefs_conflict_p): Add braces to shut up warnings. * cse.c (cse_basic_block): Add parens to shut up warnings. From-SVN: r21734 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dd51f8da19e..0a84cba7563 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Fri Aug 14 14:12:59 1998 Jason Merrill + + * i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings. + * alias.c (memrefs_conflict_p): Add braces to shut up warnings. + * cse.c (cse_basic_block): Add parens to shut up warnings. + Fri Aug 14 12:58:21 1998 David S. Miller * config/sparc/sparc.c (sparc_emit_set_const64_quick2, @@ -26,8 +32,8 @@ Fri Aug 14 21:52:53 1998 J"orn Rennecke Fri Aug 14 16:50:10 1998 John Carr - * genrecog.c (add_to_sequence): Fatal error if the modes of the operands - of SET are incompatible. + * genrecog.c (add_to_sequence): Fatal error if the modes of the + operands of SET are incompatible. * alpha.md: Fix max and min patterns so modes of SET operands match. diff --git a/gcc/alias.c b/gcc/alias.c index de471394d56..8e0d21bef64 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -726,11 +726,14 @@ memrefs_conflict_p (xsize, x, ysize, y, c) if (rtx_equal_for_memref_p (x0, y0)) return memrefs_conflict_p (xsize, x1, ysize, y1, c); if (GET_CODE (x1) == CONST_INT) - if (GET_CODE (y1) == CONST_INT) - return memrefs_conflict_p (xsize, x0, ysize, y0, - c - INTVAL (x1) + INTVAL (y1)); - else - return memrefs_conflict_p (xsize, x0, ysize, y, c - INTVAL (x1)); + { + if (GET_CODE (y1) == CONST_INT) + return memrefs_conflict_p (xsize, x0, ysize, y0, + c - INTVAL (x1) + INTVAL (y1)); + else + return memrefs_conflict_p (xsize, x0, ysize, y, + c - INTVAL (x1)); + } else if (GET_CODE (y1) == CONST_INT) return memrefs_conflict_p (xsize, x, ysize, y0, c + INTVAL (y1)); diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 75e8baef1c1..540cfec35f5 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -664,8 +664,8 @@ extern int ix86_arch; #define MODES_TIEABLE_P(MODE1, MODE2) \ ((MODE1) == (MODE2) \ - || ((MODE1) == SImode && (MODE2) == HImode \ - || (MODE1) == HImode && (MODE2) == SImode)) + || ((MODE1) == SImode && (MODE2) == HImode) \ + || ((MODE1) == HImode && (MODE2) == SImode)) /* Specify the registers used for certain standard purposes. The values of these macros are register numbers. */ diff --git a/gcc/cse.c b/gcc/cse.c index 5d121870afb..94e80c3ee6d 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -8647,7 +8647,7 @@ cse_basic_block (from, to, next_branch, around_loop) its destination is the result of the block and hence should be recorded. */ - if (p = find_reg_note (insn, REG_LIBCALL, NULL_RTX)) + if ((p = find_reg_note (insn, REG_LIBCALL, NULL_RTX))) libcall_insn = XEXP (p, 0); else if (find_reg_note (insn, REG_RETVAL, NULL_RTX)) libcall_insn = NULL_RTX;