From: John David Anglin Date: Thu, 11 Jun 2015 23:24:30 +0000 (+0000) Subject: pa.c (pa_output_global_address): Handle LABEL_REF plus CONST_INT for goto. X-Git-Tag: releases/gcc-4.9.3~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3036c22a307dd6cd8bab274e26be61b6d9a7dee2;p=thirdparty%2Fgcc.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: r224399 --- 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);