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]
Other format: [Raw text]

[C++ patch] similar to PR 4093


Hi,

Is this OK?
It is similar to the PR 4093 patch which I submitted.

I am still telling people to do a "make bootsrap"
instead of a "make" with these other compilers.

2002-03-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>

	* cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of
	conditional return void.

Index: cp-tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/cp-tree.h,v
retrieving revision 1.681.2.2
diff -u -r1.681.2.2 cp-tree.h
--- cp-tree.h	2002/03/01 10:56:15	1.681.2.2
+++ cp-tree.h	2002/03/03 20:19:51
@@ -1594,7 +1594,7 @@
 #define CLEAR_BINFO_MARKED(NODE)		\
   (TREE_VIA_VIRTUAL (NODE)			\
    ? CLEAR_CLASSTYPE_MARKED (BINFO_TYPE (NODE))	\
-   : (TREE_LANG_FLAG_0 (NODE) = 0))
+   : (void)(TREE_LANG_FLAG_0 (NODE) = 0))
 
 /* Nonzero means that this class is on a path leading to a new vtable.  */
 #define BINFO_VTABLE_PATH_MARKED(NODE)		\
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@attbi.com


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