cppexp.c (op_t): Make an int.

* cppexp.c (op_t): Make an int.

        * rtlanal.c (dead_or_set_regno_p): Remove unused variable.

        * varasm.c (initializer_constant_valid_p): Fix parenthesis.

        * gensupport.c (process_rtx): Fix macros used.

From-SVN: r33635
This commit is contained in:
Jason Merrill 2000-05-03 18:06:26 +00:00 committed by Jason Merrill
parent 8d6fe133c4
commit 8c8de5fc10
5 changed files with 16 additions and 6 deletions

View File

@ -1,3 +1,13 @@
2000-05-03 Jason Merrill <jason@casey.cygnus.com>
* cppexp.c (op_t): Make an int.
* rtlanal.c (dead_or_set_regno_p): Remove unused variable.
* varasm.c (initializer_constant_valid_p): Fix parenthesis.
* gensupport.c (process_rtx): Fix macros used.
2000-05-03 Richard Henderson <rth@cygnus.com>
* flow.c (propagate_one_insn): Also don't PROP_REG_INFO for

View File

@ -68,7 +68,7 @@ Boston, MA 02111-1307, USA. */
number with SUM's sign, where A, B, and SUM are all C integers. */
#define possible_sum_sign(a, b, sum) ((((a) ^ (b)) | ~ ((a) ^ (sum))) < 0)
typedef short op_t;
typedef int op_t;
static void integer_overflow PARAMS ((cpp_reader *));
static HOST_WIDEST_INT left_shift PARAMS ((cpp_reader *, HOST_WIDEST_INT,

View File

@ -92,8 +92,8 @@ process_rtx (desc)
/* Create a split with values from the insn_and_split. */
rtx split = rtx_alloc (DEFINE_SPLIT);
XVEC (split, 0) = copy_rtx (XVEC (*desc, 1));
remove_constraints (XVEC (split, 0));
XEXP (split, 0) = copy_rtx (XEXP (*desc, 1));
remove_constraints (XEXP (split, 0));
split_cond = XSTR (split, 1) = XSTR (*desc, 4);
/* If the split condition starts with "&&", append it to the
@ -113,7 +113,7 @@ process_rtx (desc)
/* Fix up the DEFINE_INSN. */
PUT_CODE (*desc, DEFINE_INSN);
XVEC (*desc, 4) = XSTR (*desc, 7);
XVEC (*desc, 4) = XVEC (*desc, 7);
/* Return the DEFINE_INSN part, and put the DEFINE_SPLIT
in the queue. */

View File

@ -1231,7 +1231,7 @@ dead_or_set_regno_p (insn, test_regno)
unsigned int test_regno;
{
unsigned int regno, endregno;
rtx link, pattern;
rtx pattern;
/* See if there is a death note for something that includes TEST_REGNO. */
if (find_regno_note (insn, REG_DEAD, test_regno))

View File

@ -4068,7 +4068,7 @@ initializer_constant_valid_p (value, endtype)
return null_pointer_node;
case ADDR_EXPR:
return staticp (TREE_OPERAND (value, 0) ? TREE_OPERAND (value, 0) : 0);
return staticp (TREE_OPERAND (value, 0)) ? TREE_OPERAND (value, 0) : 0;
case NON_LVALUE_EXPR:
return initializer_constant_valid_p (TREE_OPERAND (value, 0), endtype);