diff options
author | Richard Henderson <rth@redhat.com> | 2003-04-17 12:54:03 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-04-17 12:54:03 -0700 |
commit | 3907500bf1cd491b1adb5a924dd9df028dd6b41f (patch) | |
tree | dffb761b6e49e8bd07d53b29e4a0cfa9fe3b3ad1 /gcc/config | |
parent | d22b2e5461bd4155bf1fcf8fc448d891ace5fbd1 (diff) | |
download | gcc-3907500bf1cd491b1adb5a924dd9df028dd6b41f.zip gcc-3907500bf1cd491b1adb5a924dd9df028dd6b41f.tar.gz gcc-3907500bf1cd491b1adb5a924dd9df028dd6b41f.tar.bz2 |
* config/ia64/ia64.c (ia64_in_small_data_p): Disallow strings.
From-SVN: r65747
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/ia64/ia64.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index d7aadb3..ff290bd 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -7389,6 +7389,10 @@ ia64_in_small_data_p (exp) if (TARGET_NO_SDATA) return false; + /* We want to merge strings, so we never consider them small data. */ + if (TREE_CODE (exp) == STRING_CST) + return false; + if (TREE_CODE (exp) == VAR_DECL && DECL_SECTION_NAME (exp)) { const char *section = TREE_STRING_POINTER (DECL_SECTION_NAME (exp)); |