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
This commit is contained in:
Jason Merrill 1998-08-14 12:28:30 -04:00
parent f710f868cb
commit 63be02dbae
4 changed files with 19 additions and 10 deletions

View File

@ -1,3 +1,9 @@
Fri Aug 14 14:12:59 1998 Jason Merrill <jason@yorick.cygnus.com>
* 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 <davem@pierdol.cobaltmicro.com> Fri Aug 14 12:58:21 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
* config/sparc/sparc.c (sparc_emit_set_const64_quick2, * config/sparc/sparc.c (sparc_emit_set_const64_quick2,
@ -26,8 +32,8 @@ Fri Aug 14 21:52:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
Fri Aug 14 16:50:10 1998 John Carr <jfc@mit.edu> Fri Aug 14 16:50:10 1998 John Carr <jfc@mit.edu>
* genrecog.c (add_to_sequence): Fatal error if the modes of the operands * genrecog.c (add_to_sequence): Fatal error if the modes of the
of SET are incompatible. operands of SET are incompatible.
* alpha.md: Fix max and min patterns so modes of SET operands match. * alpha.md: Fix max and min patterns so modes of SET operands match.

View File

@ -726,11 +726,14 @@ memrefs_conflict_p (xsize, x, ysize, y, c)
if (rtx_equal_for_memref_p (x0, y0)) if (rtx_equal_for_memref_p (x0, y0))
return memrefs_conflict_p (xsize, x1, ysize, y1, c); return memrefs_conflict_p (xsize, x1, ysize, y1, c);
if (GET_CODE (x1) == CONST_INT) if (GET_CODE (x1) == CONST_INT)
{
if (GET_CODE (y1) == CONST_INT) if (GET_CODE (y1) == CONST_INT)
return memrefs_conflict_p (xsize, x0, ysize, y0, return memrefs_conflict_p (xsize, x0, ysize, y0,
c - INTVAL (x1) + INTVAL (y1)); c - INTVAL (x1) + INTVAL (y1));
else else
return memrefs_conflict_p (xsize, x0, ysize, y, c - INTVAL (x1)); return memrefs_conflict_p (xsize, x0, ysize, y,
c - INTVAL (x1));
}
else if (GET_CODE (y1) == CONST_INT) else if (GET_CODE (y1) == CONST_INT)
return memrefs_conflict_p (xsize, x, ysize, y0, c + INTVAL (y1)); return memrefs_conflict_p (xsize, x, ysize, y0, c + INTVAL (y1));

View File

@ -664,8 +664,8 @@ extern int ix86_arch;
#define MODES_TIEABLE_P(MODE1, MODE2) \ #define MODES_TIEABLE_P(MODE1, MODE2) \
((MODE1) == (MODE2) \ ((MODE1) == (MODE2) \
|| ((MODE1) == SImode && (MODE2) == HImode \ || ((MODE1) == SImode && (MODE2) == HImode) \
|| (MODE1) == HImode && (MODE2) == SImode)) || ((MODE1) == HImode && (MODE2) == SImode))
/* Specify the registers used for certain standard purposes. /* Specify the registers used for certain standard purposes.
The values of these macros are register numbers. */ The values of these macros are register numbers. */

View File

@ -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 its destination is the result of the block and hence should be
recorded. */ 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); libcall_insn = XEXP (p, 0);
else if (find_reg_note (insn, REG_RETVAL, NULL_RTX)) else if (find_reg_note (insn, REG_RETVAL, NULL_RTX))
libcall_insn = NULL_RTX; libcall_insn = NULL_RTX;