]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
(ASM_OUTPUT_INT): Test for whether the integer being output is also a
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 22 Sep 1995 22:50:27 +0000 (18:50 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 22 Sep 1995 22:50:27 +0000 (18:50 -0400)
constant so &sym - &sym2 is not fixed up.

From-SVN: r10395

gcc/config/rs6000/eabi.h

index c244843c7b13c029845881cadb467723cd5096b5..0f8bdb5ead4fde509121dd808febe1c171a71403 100644 (file)
@@ -96,7 +96,8 @@ do {                                                                  \
       && in_section != in_dtors                                                \
       && !recurse                                                      \
       && GET_CODE (VALUE) != CONST_INT                                 \
-      && GET_CODE (VALUE) != CONST_DOUBLE)                             \
+      && GET_CODE (VALUE) != CONST_DOUBLE                              \
+      && CONSTANT_P (VALUE))                                           \
     {                                                                  \
       static int labelno = 0;                                          \
       char buf[256], *p;                                               \