summaryrefslogtreecommitdiff
path: root/gcc/halfpic.c
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1992-02-29 14:22:43 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1992-02-29 14:22:43 +0000
commit274701c88eef6a1146ddc2fce4e5e512771b4f4d (patch)
tree831b0694cd6c7b921d7492a29c02d0dc012bf96e /gcc/halfpic.c
parenteebb31dfb8388b1ba1aabb9e3d43d29292fb367a (diff)
downloadgcc-274701c88eef6a1146ddc2fce4e5e512771b4f4d.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@367 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/halfpic.c')
-rw-r--r--gcc/halfpic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/halfpic.c b/gcc/halfpic.c
index 9b75ebb9dfc..d78d1b028e8 100644
--- a/gcc/halfpic.c
+++ b/gcc/halfpic.c
@@ -68,13 +68,12 @@ int
half_pic_address_p (addr)
rtx addr;
{
- int offset;
char *name;
switch (GET_CODE (addr))
{
case CONST:
- offset = 0;
+ rtx offset = const0_rtx;
addr = eliminate_constant_term (addr, &offset);
if (GET_CODE (addr) != SYMBOL_REF)
return FALSE;