summaryrefslogtreecommitdiff
path: root/gnu/egcs
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-06-17 21:19:59 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-06-17 21:19:59 +0000
commit9d87db8165c2afe3a9f2da12c18bea0c25576501 (patch)
treee7ac7cf805958bf4976de40b3736c756a27b8578 /gnu/egcs
parent971f23519692da632e747cdefcc8823f4da843cc (diff)
Update to 990608 snapshot.
Highlights: - official fix for an alpha bug, - cpp changes semantic slightly, - valarray in libstdc++.
Diffstat (limited to 'gnu/egcs')
-rw-r--r--gnu/egcs/gcc/config/mips/mips.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/config/mips/mips.h b/gnu/egcs/gcc/config/mips/mips.h
index 46f1165d188..7360e1b5d64 100644
--- a/gnu/egcs/gcc/config/mips/mips.h
+++ b/gnu/egcs/gcc/config/mips/mips.h
@@ -3224,7 +3224,11 @@ do \
SYMBOL_REF_FLAG (XEXP (DECL_RTL (DECL), 0)) = 1; \
} \
\
- else if (TARGET_GP_OPT && TREE_CODE (DECL) == VAR_DECL) \
+ /* We can not perform GP optimizations on variables which are in \
+ specific sections, except for .sdata and .sbss which are \
+ handled above. */ \
+ else if (TARGET_GP_OPT && TREE_CODE (DECL) == VAR_DECL \
+ && DECL_SECTION_NAME (DECL) == NULL_TREE) \
{ \
int size = int_size_in_bytes (TREE_TYPE (DECL)); \
\