This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PR target/843


This is completely untested, but if my analysis is correct it should solve 
the problem.

R.


Index: arm.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/arm/arm.c,v
retrieving revision 1.142
diff -p -r1.142 arm.c
*** arm.c	2001/02/09 02:00:44	1.142
--- arm.c	2001/04/22 14:40:49
*************** symbol_mentioned_p (x)
*** 3418,3423 ****
--- 3414,3424 ----
    if (GET_CODE (x) == SYMBOL_REF)
      return 1;
  
+   /* CONST_DOUBLE can contain a symbol ref for its in-memory
+      representation.  We are not interested about that case here.  */
+   if (GET_CODE (x) == CONST_DOUBLE)
+     return 0;
+ 
    fmt = GET_RTX_FORMAT (GET_CODE (x));
    
    for (i = GET_RTX_LENGTH (GET_CODE (x)) - 1; i >= 0; i--)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]