diff options
author | Jason Merrill <jason@casey.cygnus.com> | 2000-05-03 18:06:26 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-05-03 14:06:26 -0400 |
commit | 8c8de5fc10d0c5bc658de7f2dfc75c33b1fb541d (patch) | |
tree | 4be9da45ea1d216d30d49aa3a905cf546ff8f56e /gcc | |
parent | 8d6fe133c4e85680d3683327340662540aac73f5 (diff) | |
download | gcc-8c8de5fc10d0c5bc658de7f2dfc75c33b1fb541d.zip gcc-8c8de5fc10d0c5bc658de7f2dfc75c33b1fb541d.tar.gz gcc-8c8de5fc10d0c5bc658de7f2dfc75c33b1fb541d.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/cppexp.c | 2 | ||||
-rw-r--r-- | gcc/gensupport.c | 6 | ||||
-rw-r--r-- | gcc/rtlanal.c | 2 | ||||
-rw-r--r-- | gcc/varasm.c | 2 |
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); |