This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PR target/843
- To: Philip Blundell <philb at gnu dot org>
- Subject: Re: PR target/843
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Sun, 22 Apr 2001 15:43:01 +0100
- cc: gcc at gcc dot gnu dot org, Richard dot Earnshaw at arm dot com
- Organization: ARM Ltd.
- Reply-To: Richard dot Earnshaw at arm dot com
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--)