aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/cppexp.c2
-rw-r--r--gcc/gensupport.c6
-rw-r--r--gcc/rtlanal.c2
-rw-r--r--gcc/varasm.c2
5 files changed, 16 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f9dc64b..6c83c3d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index 40ca900..dd7f431 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -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,
diff --git a/gcc/gensupport.c b/gcc/gensupport.c
index aff9d84..35ef018 100644
--- a/gcc/gensupport.c
+++ b/gcc/gensupport.c
@@ -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. */
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index f45a3d4..2f9b376 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -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))
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 898b17b..88bfec0 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -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);