]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pa.c (pa_output_global_address): Handle LABEL_REF plus CONST_INT for goto.
authorJohn David Anglin <danglin@gcc.gnu.org>
Thu, 11 Jun 2015 23:24:30 +0000 (23:24 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Thu, 11 Jun 2015 23:24:30 +0000 (23:24 +0000)
* config/pa/pa.c (pa_output_global_address): Handle LABEL_REF plus
CONST_INT for goto.

From-SVN: r224399

gcc/ChangeLog
gcc/config/pa/pa.c

index bac9ec88c0111e6d1305077703126b7a8cda74d3..ca0bc6aad2eed80d84068b77b24f9ade92991796 100644 (file)
@@ -1,3 +1,8 @@
+2015-06-11  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/pa.c (pa_output_global_address): Handle LABEL_REF plus
+       CONST_INT for goto.
+
 2015-06-11  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR bootstrap/66252
index a593e47213fa667cdf603acff518873bc8a9ba8e..bae1cf424f557ab070e0bcaed43b4b4e0acfebca 100644 (file)
@@ -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);