projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a88a8c0
)
(SELECT_SECTION): Use TREE_CODE_CLASS instead of directly referencing
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 10 Jul 1995 23:58:17 +0000
(19:58 -0400)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/gcc/config/sparc/sparc.h
b/gcc/config/sparc/sparc.h
index
b895c7d
..
df92803
100644
(file)
--- a/
gcc/config/sparc/sparc.h
+++ b/
gcc/config/sparc/sparc.h
@@
-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 \