diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-19 21:25:52 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-19 21:25:52 +0000 |
commit | 6ca5d410ede894521053852dd86f06499132059c (patch) | |
tree | 892ebed80a8ef5b1bc3c24574796c823ff11fe75 | |
parent | 5dce5d8fc5f82e1e0599c74435b0da8101e6a286 (diff) | |
download | gcc-6ca5d410ede894521053852dd86f06499132059c.tar.gz |
* config/alpha/alpha.c (alpha_in_small_data_p): Reject common symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220825 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 25 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.c | 4 |
2 files changed, 18 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d2baaf0d254..04f256c4901 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,10 @@ +2015-02-19 Uros Bizjak <ubizjak@gmail.com> + + * config/alpha/alpha.c (alpha_in_small_data_p): Reject common symbols. + 2015-02-19 Sandra Loosemore <sandra@codesourcery.com> - * doc/extend.texi (x86 transactional memory intrinsics): - Copy-edit. + * doc/extend.texi (x86 transactional memory intrinsics): Copy-edit. 2015-02-19 Richard Henderson <rth@redhat.com> @@ -17,13 +20,13 @@ 2015-02-19 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> - * haifa-sched.c (enum rfs_decision, rfs_str): Remove RFS_DEBUG. - (rank_for_schedule_debug): Update. - (ready_sort): Make static. Move sorting logic to ... - (ready_sort_debug, ready_sort_real): New static functions. - (schedule_block): Sort both debug insns and real insns in preparation - for ready list trimming. Improve debug output. - * sched-int.h (ready_sort): Remove global declaration. + * haifa-sched.c (enum rfs_decision, rfs_str): Remove RFS_DEBUG. + (rank_for_schedule_debug): Update. + (ready_sort): Make static. Move sorting logic to ... + (ready_sort_debug, ready_sort_real): New static functions. + (schedule_block): Sort both debug insns and real insns in preparation + for ready list trimming. Improve debug output. + * sched-int.h (ready_sort): Remove global declaration. 2015-02-18 Trevor Saunders <tsaunders@mozilla.com> @@ -393,7 +396,7 @@ PR ipa/65028 * ipa-inline-transform.c (mark_all_inlined_calls_cdtor): New function. (inline_call): Use it. - + 2015-02-13 Thomas Schwinge <thomas@codesourcery.com> * config/nvptx/offload.h (ACCEL_COMPILER_acc_device): Define to @@ -616,7 +619,7 @@ 2015-02-10 David Wohlferd <dw@LimeGreenSocks.com> * doc/extend.texi (Symbol-Renaming Pragmas): Restore (slightly - modified) reference to Solaris. + modified) reference to Solaris. 2015-02-10 Sandra Loosemore <sandra@codesourcery.com> diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 0c0df684dcc..554ff09b055 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -835,6 +835,10 @@ alpha_in_small_data_p (const_tree exp) if (TREE_CODE (exp) == FUNCTION_DECL) return false; + /* COMMON symbols are never small data. */ + if (TREE_CODE (exp) == VAR_DECL && DECL_COMMON (exp)) + return false; + if (TREE_CODE (exp) == VAR_DECL && DECL_SECTION_NAME (exp)) { const char *section = DECL_SECTION_NAME (exp); |