From: Jeffrey A Law Date: Sun, 22 Feb 1998 19:49:04 +0000 (+0000) Subject: pa.h (TEXT_SPACE_P): Remove unnecessary indirection into tree_code_type. X-Git-Tag: prereleases/egcs-1.0.2-prerelease~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0acdc8d219de430891f02383f8aae3ed63c692e;p=thirdparty%2Fgcc.git pa.h (TEXT_SPACE_P): Remove unnecessary indirection into tree_code_type. * pa/pa.h (TEXT_SPACE_P): Remove unnecessary indirection into tree_code_type. * vax/vms.h (SELECT_SECTION): Similarly. From-SVN: r18193 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8dfec4121178..6e003c27b5cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * expr.c (emit_move_insn_1): When moving complex values in several diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 5944448a849c..19b1c605c124 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -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) \ diff --git a/gcc/config/vax/vms.h b/gcc/config/vax/vms.h index d8580b5c1a13..44bb55cede3b 100644 --- a/gcc/config/vax/vms.h +++ b/gcc/config/vax/vms.h @@ -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 (); \