]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pa.h (TEXT_SPACE_P): Remove unnecessary indirection into tree_code_type.
authorJeffrey A Law <law@cygnus.com>
Sun, 22 Feb 1998 19:49:04 +0000 (19:49 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 22 Feb 1998 19:49:04 +0000 (12:49 -0700)
        * pa/pa.h (TEXT_SPACE_P): Remove unnecessary indirection
        into tree_code_type.
        * vax/vms.h (SELECT_SECTION): Similarly.

From-SVN: r18193

gcc/ChangeLog
gcc/config/pa/pa.h
gcc/config/vax/vms.h

index 8dfec4121178eb23f20b62b8ec0c291efcc9fd37..6e003c27b5cf23c75165c075eb301cb6906cbcd3 100644 (file)
@@ -1,3 +1,9 @@
+Sun Feb 22 20:48:54 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * pa/pa.h (TEXT_SPACE_P): Remove unnecessary indirection
+       into tree_code_type.
+       * vax/vms.h (SELECT_SECTION): Similarly.
+
 Sun Feb 22 20:46:31 1998  Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
 
        * expr.c (emit_move_insn_1): When moving complex values in several
index 5944448a849c02eb1ea944076db76c53a6c10a06..19b1c605c124db421f30c3d4a51a0c02e145c9c6 100644 (file)
@@ -1649,7 +1649,7 @@ extern struct rtx_def *hppa_legitimize_address ();
        && TREE_READONLY (DECL) && ! TREE_SIDE_EFFECTS (DECL)           \
        && (! DECL_INITIAL (DECL) || ! reloc_needed (DECL_INITIAL (DECL))) \
        && !flag_pic)                                                   \
-   || (*tree_code_type[(int) TREE_CODE (DECL)] == 'c'                  \
+   || (tree_code_type[(int) TREE_CODE (DECL)] == 'c'                   \
        && !(TREE_CODE (DECL) == STRING_CST && flag_writable_strings)))
 
 #define FUNCTION_NAME_P(NAME) \
index d8580b5c1a13ad6b37d6a1e3a5e3624aa33a74ec..44bb55cede3b778ab88a8ac833480502ecdf95fd 100644 (file)
@@ -264,7 +264,7 @@ const_section ()                                    \
       else                                                             \
        data_section ();                                                \
     }                                                                  \
-  if (*tree_code_type[(int) TREE_CODE (T)] == 'c')                     \
+  if (tree_code_type[(int) TREE_CODE (T)] == 'c')                      \
     {                                                                  \
       if ((TREE_CODE (T) == STRING_CST && flag_writable_strings))      \
        data_section ();                                                \