(SELECT_SECTION): Use TREE_CODE_CLASS instead of directly referencing
tree_code_type. From-SVN: r10114
This commit is contained in:
parent
a88a8c0b51
commit
0751603619
|
@ -477,7 +477,7 @@ extern int target_flags;
|
|||
if (flag_pic && ((RELOC) || SUNOS4_SHARED_LIBRARIES)) \
|
||||
data_section (); \
|
||||
} \
|
||||
else if (*tree_code_type[(int) TREE_CODE (T)] == 'c') \
|
||||
else if (TREE_CODE_CLASS (TREE_CODE (T)) == 'c') \
|
||||
{ \
|
||||
if ((TREE_CODE (T) == STRING_CST && flag_writable_strings) \
|
||||
|| TYPE_ALIGN (TREE_TYPE (T)) > MAX_TEXT_ALIGN \
|
||||
|
|
Loading…
Reference in New Issue