From 3ab604d5282abad7d4e04ba93a312fdf867757eb Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Thu, 11 Jun 2015 23:20:33 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa.c | 2 ++ 2 files changed, 7 insertions(+) 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); -- 2.30.2