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]

c++ abort 19990815


Shows up in libstdc++/stdimpl.cc.  The tree in question
is a TRUTH_AND_EXPR.

Ok?


r~


	* tree.c (mapcar): Handle TRUTH_{AND,OR,XOR}_EXPR.

Index: tree.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/tree.c,v
retrieving revision 1.132
diff -c -p -d -r1.132 tree.c
*** tree.c	1999/08/17 07:20:23	1.132
--- tree.c	1999/08/18 18:05:52
*************** mapcar (t, func)
*** 1899,1904 ****
--- 1899,1907 ----
        TREE_OPERAND (t, 2) = mapcar (TREE_OPERAND (t, 2), func);
        return t;
  
+     case TRUTH_AND_EXPR:
+     case TRUTH_OR_EXPR:
+     case TRUTH_XOR_EXPR:
      case TRUTH_ANDIF_EXPR:
      case TRUTH_ORIF_EXPR:
      case PREDECREMENT_EXPR:


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