diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2015-06-11 23:20:33 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2015-06-11 23:20:33 +0000 |
commit | 3ab604d5282abad7d4e04ba93a312fdf867757eb (patch) | |
tree | 9e68adfd0884b36b07b9d860be01d631069e287f /gcc/config/pa/pa.c | |
parent | 91234054f7e3c8d5787c84510966f733e02dc693 (diff) | |
download | gcc-3ab604d5282abad7d4e04ba93a312fdf867757eb.zip gcc-3ab604d5282abad7d4e04ba93a312fdf867757eb.tar.gz gcc-3ab604d5282abad7d4e04ba93a312fdf867757eb.tar.bz2 |
pa.c (pa_output_global_address): Handle LABEL_REF plus CONST_INT for goto.
* config/pa/pa.c (pa_output_global_address): Handle LABEL_REF plus
CONST_INT for goto.
From-SVN: r224396
Diffstat (limited to 'gcc/config/pa/pa.c')
-rw-r--r-- | gcc/config/pa/pa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index a6ef23c..6c7c3f6 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -5455,6 +5455,7 @@ pa_output_global_address (FILE *file, rtx x, int round_constant) switch (GET_CODE (XEXP (XEXP (x, 0), 0))) { + case LABEL_REF: case SYMBOL_REF: base = XEXP (XEXP (x, 0), 0); output_addr_const (file, base); @@ -5468,6 +5469,7 @@ pa_output_global_address (FILE *file, rtx x, int round_constant) switch (GET_CODE (XEXP (XEXP (x, 0), 1))) { + case LABEL_REF: case SYMBOL_REF: base = XEXP (XEXP (x, 0), 1); output_addr_const (file, base); |