From: John David Anglin Date: Thu, 11 Jun 2015 23:26:24 +0000 (+0000) Subject: pa.c (pa_output_global_address): Handle LABEL_REF plus CONST_INT for goto. X-Git-Tag: releases/gcc-4.8.5~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5f749c04f8ece35e9c40c2955ed41c9e236470f;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: r224400 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 19f4fe346ff7..755103fa21b8 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 Richard Biener Backport from mainline, guarded with in_lto_p diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 5aad9fdbc654..7fdc9b679e5f 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -5421,6 +5421,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); @@ -5434,6 +5435,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);