OSDN Git Service

(SELECT_SECTION): Use TREE_CODE_CLASS instead of directly referencing
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Jul 1995 23:58:17 +0000 (23:58 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Jul 1995 23:58:17 +0000 (23:58 +0000)
tree_code_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10114 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/sparc/sparc.h

index b895c7d..df92803 100644 (file)
@@ -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                \