diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2015-02-19 22:25:52 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2015-02-19 22:25:52 +0100 |
commit | dcdeca7afdd8a1d3f902353724848042c6123b46 (patch) | |
tree | 892ebed80a8ef5b1bc3c24574796c823ff11fe75 /gcc | |
parent | 87839f22d2cc6b6c550f9b971275bf55d61cb84c (diff) | |
download | gcc-dcdeca7afdd8a1d3f902353724848042c6123b46.zip gcc-dcdeca7afdd8a1d3f902353724848042c6123b46.tar.gz gcc-dcdeca7afdd8a1d3f902353724848042c6123b46.tar.bz2 |
alpha.c (alpha_in_small_data_p): Reject common symbols.
* config/alpha/alpha.c (alpha_in_small_data_p): Reject common symbols.
From-SVN: r220825
Diffstat (limited to 'gcc')
-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 d2baaf0..04f256c 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 0c0df684..554ff09 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); |