[patch] v850 Avoid tree checking errors
Catherine Moore
clm@redhat.com
Wed Jul 25 13:20:00 GMT 2001
The following patch is necessary to avoid tree checking errors.
Okay to install?
Catherine
2001-07-25 Catherine Moore <clm@redhat.com>
* config/v850/v850.h (ENCODE_SECTION_INFO): Change order
of conditional to avoid tree checking errors.
Index: v850.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/v850/v850.h,v
retrieving revision 1.41
diff -p -r1.41 v850.h
*** v850.h 2001/07/19 20:20:38 1.41
--- v850.h 2001/07/25 20:19:04
*************** extern union tree_node * GHS_current_sec
*** 1569,1581 ****
#define EP_REGNUM 30 /* ep register number */
! #define ENCODE_SECTION_INFO(DECL)
! do
! {
! if ((TREE_STATIC (DECL) || DECL_EXTERNAL (DECL))
! && TREE_CODE (DECL) == VAR_DECL)
! v850_encode_data_area (DECL);
! }
while (0)
#define ZDA_NAME_FLAG_CHAR '@'
--- 1569,1581 ----
#define EP_REGNUM 30 /* ep register number */
! #define ENCODE_SECTION_INFO(DECL)
! do
! {
! if (TREE_CODE (DECL) == VAR_DECL
! && (TREE_STATIC (DECL) || DECL_EXTERNAL (DECL)))
! v850_encode_data_area (DECL);
! }
while (0)
#define ZDA_NAME_FLAG_CHAR '@'
More information about the Gcc-patches
mailing list