summaryrefslogtreecommitdiff
path: root/gcc/halfpic.c
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1992-03-17 15:36:31 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1992-03-17 15:36:31 +0000
commit5ce869bd61f6a3bfdc20438b62e2347c3433aacd (patch)
treeb79ad4b4ed18f9977d393cdd4233225a8c1c82e9 /gcc/halfpic.c
parent16258caa760324bfe2cc10e040925accf6dd3f81 (diff)
downloadgcc-5ce869bd61f6a3bfdc20438b62e2347c3433aacd.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@510 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/halfpic.c')
-rw-r--r--gcc/halfpic.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/halfpic.c b/gcc/halfpic.c
index d78d1b028e8..649bdbb776e 100644
--- a/gcc/halfpic.c
+++ b/gcc/halfpic.c
@@ -73,11 +73,12 @@ half_pic_address_p (addr)
switch (GET_CODE (addr))
{
case CONST:
- rtx offset = const0_rtx;
- addr = eliminate_constant_term (addr, &offset);
- if (GET_CODE (addr) != SYMBOL_REF)
- return FALSE;
-
+ {
+ rtx offset = const0_rtx;
+ addr = eliminate_constant_term (addr, &offset);
+ if (GET_CODE (addr) != SYMBOL_REF)
+ return FALSE;
+ }
/* fall through */
case SYMBOL_REF: