From: John David Anglin Date: Thu, 11 Jun 2015 23:20:33 +0000 (+0000) Subject: pa.c (pa_output_global_address): Handle LABEL_REF plus CONST_INT for goto. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ab604d5282abad7d4e04ba93a312fdf867757eb;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fcfa033f18c..bbf9fb628cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-06-11 John David Anglin + + * config/pa/pa.c (pa_output_global_address): Handle LABEL_REF plus + CONST_INT for goto. + 2015-06-11 Aldy Hernandez PR bootstrap/66448 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index a6ef23c0838..6c7c3f69223 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);