h8300.h (ENCODE_SECTION_INFO): Check to see if DECL is VAR_DECL first to prevent an ICE.
* config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL is VAR_DECL first to prevent an ICE. From-SVN: r44446
This commit is contained in:
parent
6681bc1f10
commit
391522e3a5
@ -1,3 +1,8 @@
|
|||||||
|
2001-07-28 Kazu Hirata <kazu@hxi.com>
|
||||||
|
|
||||||
|
* config/h8300/h8300.h (ENCODE_SECTION_INFO): Check to see if DECL
|
||||||
|
is VAR_DECL first to prevent an ICE.
|
||||||
|
|
||||||
2001-07-28 Richard Henderson <rth@redhat.com>
|
2001-07-28 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* varasm.c (immed_real_const_1): Don't elide special cases for
|
* varasm.c (immed_real_const_1): Don't elide special cases for
|
||||||
|
@ -1177,12 +1177,12 @@ readonly_data () \
|
|||||||
if (TREE_CODE (DECL) == FUNCTION_DECL \
|
if (TREE_CODE (DECL) == FUNCTION_DECL \
|
||||||
&& h8300_funcvec_function_p (DECL)) \
|
&& h8300_funcvec_function_p (DECL)) \
|
||||||
SYMBOL_REF_FLAG (XEXP (DECL_RTL (DECL), 0)) = 1; \
|
SYMBOL_REF_FLAG (XEXP (DECL_RTL (DECL), 0)) = 1; \
|
||||||
else if ((TREE_STATIC (DECL) || DECL_EXTERNAL (DECL)) \
|
else if (TREE_CODE (DECL) == VAR_DECL \
|
||||||
&& TREE_CODE (DECL) == VAR_DECL \
|
&& (TREE_STATIC (DECL) || DECL_EXTERNAL (DECL)) \
|
||||||
&& h8300_eightbit_data_p (DECL)) \
|
&& h8300_eightbit_data_p (DECL)) \
|
||||||
SYMBOL_REF_FLAG (XEXP (DECL_RTL (DECL), 0)) = 1; \
|
SYMBOL_REF_FLAG (XEXP (DECL_RTL (DECL), 0)) = 1; \
|
||||||
else if ((TREE_STATIC (DECL) || DECL_EXTERNAL (DECL)) \
|
else if (TREE_CODE (DECL) == VAR_DECL \
|
||||||
&& TREE_CODE (DECL) == VAR_DECL \
|
&& (TREE_STATIC (DECL) || DECL_EXTERNAL (DECL)) \
|
||||||
&& h8300_tiny_data_p (DECL)) \
|
&& h8300_tiny_data_p (DECL)) \
|
||||||
h8300_encode_label (DECL);
|
h8300_encode_label (DECL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user