]> gcc.gnu.org Git - gcc.git/commitdiff
alpha.c (alpha_in_small_data_p): Reject common symbols.
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 19 Feb 2015 21:25:52 +0000 (22:25 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 19 Feb 2015 21:25:52 +0000 (22:25 +0100)
* config/alpha/alpha.c (alpha_in_small_data_p): Reject common symbols.

From-SVN: r220825

gcc/ChangeLog
gcc/config/alpha/alpha.c

index d2baaf0d25497fa58f4fd580a7fce42dcf98d9ff..04f256c49010146642708d395151dc4f600e078c 100644 (file)
@@ -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>
 
 
 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>
 
        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
 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>
 
index 0c0df684dccf2854c3d5c856417eeb8c38b3341a..554ff09b0556e35cba53ac361677c0d6f50fa55d 100644 (file)
@@ -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);
This page took 0.091758 seconds and 5 git commands to generate.