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]

Re: [PATCH]: Commence binfo extraction


Nathan Sidwell <nathan@codesourcery.com> writes:

> 	* tree.h (REC_OR_UNION_CHECK): Rename to ...
> 	(RECORD_OR_UNION_CHECK): ... here.

Committing as abvious.

Andreas.

2004-07-05  Andreas Schwab  <schwab@suse.de>

	* ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Use
	RECORD_OR_UNION_CHECK.
	(TYPE_CONTAINS_TEMPLATE_P): Likewise.

--- gcc/ada/ada-tree.h	27 Jun 2004 13:48:03 +0200	1.20
+++ gcc/ada/ada-tree.h	05 Jul 2004 20:16:41 +0200	
@@ -71,7 +71,7 @@ struct lang_type GTY(()) {union lang_tre
 /* For RECORD_TYPE, UNION_TYPE, and QUAL_UNION_TYPE, nonzero if this denotes
    a left-justified modular type (will only be true for RECORD_TYPE).  */
 #define TYPE_LEFT_JUSTIFIED_MODULAR_P(NODE) \
-  TYPE_LANG_FLAG_1 (REC_OR_UNION_CHECK (NODE))
+  TYPE_LANG_FLAG_1 (RECORD_OR_UNION_CHECK (NODE))
 
 /* Nonzero in an arithmetic subtype if this is a subtype not known to the
    front-end.  */
@@ -84,7 +84,7 @@ struct lang_type GTY(()) {union lang_tre
    type for an object whose type includes its template in addition to
    its value (only true for RECORD_TYPE).  */
 #define TYPE_CONTAINS_TEMPLATE_P(NODE) \
-  TYPE_LANG_FLAG_3 (REC_OR_UNION_CHECK (NODE))
+  TYPE_LANG_FLAG_3 (RECORD_OR_UNION_CHECK (NODE))
 
 /* For INTEGER_TYPE, nonzero if this really represents a VAX
    floating-point type.  */

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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