(SELECT_SECTION): Use TREE_CODE_CLASS instead of directly referencing
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 10 Jul 1995 23:58:17 +0000 (19:58 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 10 Jul 1995 23:58:17 +0000 (19:58 -0400)
tree_code_type.

From-SVN: r10114

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                \