aboutsummaryrefslogtreecommitdiff
path: root/gcc/gensupport.c
diff options
context:
space:
mode:
authorJason Merrill <jason@casey.cygnus.com>2000-05-03 18:06:26 +0000
committerJason Merrill <jason@gcc.gnu.org>2000-05-03 14:06:26 -0400
commit8c8de5fc10d0c5bc658de7f2dfc75c33b1fb541d (patch)
tree4be9da45ea1d216d30d49aa3a905cf546ff8f56e /gcc/gensupport.c
parent8d6fe133c4e85680d3683327340662540aac73f5 (diff)
downloadgcc-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/gensupport.c')
-rw-r--r--gcc/gensupport.c6
1 files changed, 3 insertions, 3 deletions
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. */