From: Jeffrey A Law Date: Thu, 2 Apr 1998 23:18:27 +0000 (+0000) Subject: pa.c (output_global_address): Initialize base. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=516c23423ecba82c46ba633870014dac2db0dd91;p=gcc.git pa.c (output_global_address): Initialize base. * pa.c (output_global_address): Initialize base. * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index. From-SVN: r18972 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4df54dfafeb..3d74cff6574 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 3 00:17:01 1998 Jeffrey A Law (law@cygnus.com) + + * pa.c (output_global_address): Initialize base. + * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index. + 1998-04-03 Mike Stump * gthr.h: Support systems that don't have weak, but have threads. diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index a4d8e7c7633..068303ba4b8 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -3907,7 +3907,7 @@ output_global_address (file, x, round_constant) { char *sep = ""; int offset = 0; /* assembler wants -$global$ at end */ - rtx base; + rtx base = NULL_RTX; if (GET_CODE (XEXP (XEXP (x, 0), 0)) == SYMBOL_REF) { diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 4fed5fe3ff8..db0f99e5f44 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -1553,7 +1553,7 @@ extern struct rtx_def *hppa_builtin_saveregs (); goto ADDR; \ else if (GET_CODE (X) == PLUS) \ { \ - rtx base = 0, index; \ + rtx base = 0, index = 0; \ if (flag_pic && XEXP (X, 0) == pic_offset_table_rtx)\ { \ if (GET_CODE (XEXP (X, 1)) == REG \