]> gcc.gnu.org Git - gcc.git/commitdiff
Do not abort on labels for -fpic
authorMichael Meissner <meissner@gcc.gnu.org>
Tue, 25 Jun 1996 16:25:01 +0000 (16:25 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Tue, 25 Jun 1996 16:25:01 +0000 (16:25 +0000)
From-SVN: r12330

gcc/config/rs6000/rs6000.c

index 6cd516df1ccbab16c192892c102e8f35a2ef9274..cbbf1cb0d5eb57227c72e8cb2a555ef9064283f6 100644 (file)
@@ -2567,7 +2567,7 @@ print_operand_address (file, x)
 {
   if (GET_CODE (x) == REG)
     fprintf (file, "0(%s)", reg_names[ REGNO (x) ]);
-  else if (GET_CODE (x) == SYMBOL_REF || GET_CODE (x) == CONST)
+  else if (GET_CODE (x) == SYMBOL_REF || GET_CODE (x) == CONST || GET_CODE (x) == LABEL_REF)
     {
       output_addr_const (file, x);
       if (small_data_operand (x, GET_MODE (x)))
This page took 0.069909 seconds and 5 git commands to generate.