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]

egcs/gcc/tree.c


Ok to commit?

        tq vm, (burley)


Sat Apr  3 15:44:50 1999  Craig Burley  <craig@jcb-sc.com>

	* tree.c (chainon): Don't check for circularity if
	ENABLE_CHECKING is defined.

*** g77-e/gcc/tree.c.~1~	Sun Mar 28 05:47:36 1999
--- g77-e/gcc/tree.c	Sat Apr  3 15:44:26 1999
*************** chainon (op1, op2)
*** 1957,1963 ****
--- 1957,1965 ----
  	;
        TREE_CHAIN (t1) = op2;
+ #ifdef ENABLE_CHECKING
        for (t2 = op2; t2; t2 = TREE_CHAIN (t2))
          if (t2 == t1)
            abort ();  /* Circularity created.  */
+ #endif
        return op1;
      }


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