From 3036c22a307dd6cd8bab274e26be61b6d9a7dee2 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Thu, 11 Jun 2015 23:24:30 +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: r224399 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bac9ec88c011..ca0bc6aad2ee 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 Eric Botcazou PR bootstrap/66252 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index a593e47213fa..bae1cf424f55 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -5414,6 +5414,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); @@ -5427,6 +5428,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.47.2