This is the mail archive of the gcc-patches@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]

varasm.c --enable-checking fix




Fixes an enable-checking failure Graham pointed out. 	

	* varasm.c (mark_constant_pool): When marking indirect references,
	only look at SYMBOL_REFs.

Index: varasm.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/varasm.c,v
retrieving revision 1.70
diff -c -3 -p -r1.70 varasm.c
*** varasm.c	1999/08/31 19:39:08	1.70
--- varasm.c	1999/09/02 06:37:05
*************** mark_constant_pool ()
*** 3745,3752 ****
        if (!pool->mark)
  	  continue;
  
!       /* skip CONST_DOUBLEs too - correct?  */
!       if (GET_CODE (pool->constant) == CONST_DOUBLE)
  	continue;
        label = XSTR (pool->constant, 0);
  
--- 3745,3752 ----
        if (!pool->mark)
  	  continue;
  
!       /* Skip everything except SYMBOL_REFs.  */
!       if (GET_CODE (pool->constant) != SYMBOL_REF)
  	continue;
        label = XSTR (pool->constant, 0);
  







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