summaryrefslogtreecommitdiff
path: root/gcc/config/ns32k/ns32k.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-01 05:20:26 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-01 05:20:26 +0000
commitcc51d4989fbd3a1ea3629acf0754c810134263f9 (patch)
tree84f0e70b65ebdc968e5fa3ba0c8eac667a10255b /gcc/config/ns32k/ns32k.c
parent7a1f3a7953f5e6ad6df7c262d39348c9599619fc (diff)
downloadgcc-cc51d4989fbd3a1ea3629acf0754c810134263f9.tar.gz
* 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
* convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise. * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise. * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise. * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise. * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise. * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise. * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise. * md.texi: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18927 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ns32k/ns32k.c')
-rw-r--r--gcc/config/ns32k/ns32k.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c
index 0e07662fa31..1c759aed060 100644
--- a/gcc/config/ns32k/ns32k.c
+++ b/gcc/config/ns32k/ns32k.c
@@ -1,5 +1,5 @@
/* Subroutines for assembler code output on the NS32000.
- Copyright (C) 1988, 1994, 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -19,8 +19,8 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* Some output-actions in ns32k.md need these. */
-#include <stdio.h>
#include "config.h"
+#include <stdio.h>
#include "rtl.h"
#include "regs.h"
#include "hard-reg-set.h"
@@ -208,7 +208,7 @@ gen_indexed_expr (base, index, scale)
if (GET_CODE (base) != REG && GET_CODE (base) != CONST_INT)
base = gen_rtx (MEM, SImode, base);
addr = gen_rtx (MULT, SImode, index,
- gen_rtx (CONST_INT, VOIDmode, 1 << INTVAL (scale)));
+ GEN_INT (1 << INTVAL (scale)));
addr = gen_rtx (PLUS, SImode, base, addr);
return addr;
}