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:
parent
8d6fe133c4
commit
8c8de5fc10
|
@ -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>
|
2000-05-03 Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
* flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
|
* flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
|
||||||
|
|
|
@ -68,7 +68,7 @@ Boston, MA 02111-1307, USA. */
|
||||||
number with SUM's sign, where A, B, and SUM are all C integers. */
|
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)
|
#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 void integer_overflow PARAMS ((cpp_reader *));
|
||||||
static HOST_WIDEST_INT left_shift PARAMS ((cpp_reader *, HOST_WIDEST_INT,
|
static HOST_WIDEST_INT left_shift PARAMS ((cpp_reader *, HOST_WIDEST_INT,
|
||||||
|
|
|
@ -92,8 +92,8 @@ process_rtx (desc)
|
||||||
|
|
||||||
/* Create a split with values from the insn_and_split. */
|
/* Create a split with values from the insn_and_split. */
|
||||||
rtx split = rtx_alloc (DEFINE_SPLIT);
|
rtx split = rtx_alloc (DEFINE_SPLIT);
|
||||||
XVEC (split, 0) = copy_rtx (XVEC (*desc, 1));
|
XEXP (split, 0) = copy_rtx (XEXP (*desc, 1));
|
||||||
remove_constraints (XVEC (split, 0));
|
remove_constraints (XEXP (split, 0));
|
||||||
split_cond = XSTR (split, 1) = XSTR (*desc, 4);
|
split_cond = XSTR (split, 1) = XSTR (*desc, 4);
|
||||||
|
|
||||||
/* If the split condition starts with "&&", append it to the
|
/* If the split condition starts with "&&", append it to the
|
||||||
|
@ -113,7 +113,7 @@ process_rtx (desc)
|
||||||
|
|
||||||
/* Fix up the DEFINE_INSN. */
|
/* Fix up the DEFINE_INSN. */
|
||||||
PUT_CODE (*desc, 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
|
/* Return the DEFINE_INSN part, and put the DEFINE_SPLIT
|
||||||
in the queue. */
|
in the queue. */
|
||||||
|
|
|
@ -1231,7 +1231,7 @@ dead_or_set_regno_p (insn, test_regno)
|
||||||
unsigned int test_regno;
|
unsigned int test_regno;
|
||||||
{
|
{
|
||||||
unsigned int regno, endregno;
|
unsigned int regno, endregno;
|
||||||
rtx link, pattern;
|
rtx pattern;
|
||||||
|
|
||||||
/* See if there is a death note for something that includes TEST_REGNO. */
|
/* See if there is a death note for something that includes TEST_REGNO. */
|
||||||
if (find_regno_note (insn, REG_DEAD, test_regno))
|
if (find_regno_note (insn, REG_DEAD, test_regno))
|
||||||
|
|
|
@ -4068,7 +4068,7 @@ initializer_constant_valid_p (value, endtype)
|
||||||
return null_pointer_node;
|
return null_pointer_node;
|
||||||
|
|
||||||
case ADDR_EXPR:
|
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:
|
case NON_LVALUE_EXPR:
|
||||||
return initializer_constant_valid_p (TREE_OPERAND (value, 0), endtype);
|
return initializer_constant_valid_p (TREE_OPERAND (value, 0), endtype);
|
||||||
|
|
Loading…
Reference in New Issue