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
This commit is contained in:
Jeffrey A Law 1998-04-02 23:18:27 +00:00 committed by Jeff Law
parent 7cc348893e
commit 516c23423e
3 changed files with 7 additions and 2 deletions

View File

@ -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 <mrs@wrs.com>
* gthr.h: Support systems that don't have weak, but have threads.

View File

@ -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)
{

View File

@ -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 \