From: Catherine Moore Date: Thu, 26 Jul 2001 15:42:54 +0000 (+0000) Subject: v850.h (ENCODE_SECTION_INFO): Change order of conditional to avoid tree checking... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06e937ed393edb4a5c2dec20d4b0c134fd3b5c3f;p=gcc.git v850.h (ENCODE_SECTION_INFO): Change order of conditional to avoid tree checking errors. * config/v850/v850.h (ENCODE_SECTION_INFO): Change order of conditional to avoid tree checking errors. From-SVN: r44400 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 431fcff73a8..b811eb4038b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-07-26 Catherine Moore + + * config/v850/v850.h (ENCODE_SECTION_INFO): Change order + of conditional to avoid tree checking errors. + 2001-07-26 Kazu Hirata * regmove.c (regmove_optimize): Don't replace a reg with diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h index 9d2b2604e4f..fae5c16e20f 100644 --- a/gcc/config/v850/v850.h +++ b/gcc/config/v850/v850.h @@ -1569,13 +1569,13 @@ extern union tree_node * GHS_current_section_names [(int) COUNT_OF_GHS_SECTION_K #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); \ - } \ +#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 '@'