bitmap.c (bitmap_clear): Don't declare as inline.
authorIan Lance Taylor <iant@google.com>
Tue, 16 Jun 2009 16:46:31 +0000 (16:46 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 16 Jun 2009 16:46:31 +0000 (16:46 +0000)
* bitmap.c (bitmap_clear): Don't declare as inline.
* gimple.c (gimplify_assign): Likewise.
* tree-ssa-sccvn.c (vn_nary_op_compute_hash): Likewise.
* haifa-sched.c (insn_cost): Don't declare with HAIFA_INLINE.
(sched_scan_info): Remove duplicate definition.

From-SVN: r148539

gcc/ChangeLog
gcc/bitmap.c
gcc/gimple.c
gcc/haifa-sched.c
gcc/tree-ssa-sccvn.c

index 6c525da..794442c 100644 (file)
@@ -1,5 +1,13 @@
 2009-06-16  Ian Lance Taylor  <iant@google.com>
 
+       * bitmap.c (bitmap_clear): Don't declare as inline.
+       * gimple.c (gimplify_assign): Likewise.
+       * tree-ssa-sccvn.c (vn_nary_op_compute_hash): Likewise.
+       * haifa-sched.c (insn_cost): Don't declare with HAIFA_INLINE.
+       (sched_scan_info): Remove duplicate definition.
+
+2009-06-16  Ian Lance Taylor  <iant@google.com>
+
        * c-common.c (skip_evaluation): Don't define.
        (c_inhibit_evaluation_warnings): Define global variable.
        (overflow_warning): Check c_inhibit_evaluation_warnings rather
index 8e0a724..61a40ee 100644 (file)
@@ -291,7 +291,7 @@ bitmap_elt_clear_from (bitmap head, bitmap_element *elt)
 
 /* Clear a bitmap by freeing the linked list.  */
 
-inline void
+void
 bitmap_clear (bitmap head)
 {
   if (head->first)
index 24727bc..91057b4 100644 (file)
@@ -448,7 +448,7 @@ gimple_build_assign_with_ops_stat (enum tree_code subcode, tree lhs, tree op1,
 
    This function returns the newly created GIMPLE_ASSIGN tuple.  */
 
-inline gimple
+gimple
 gimplify_assign (tree dst, tree src, gimple_seq *seq_p)
 { 
   tree t = build2 (MODIFY_EXPR, TREE_TYPE (dst), dst, src);
index f876b45..eff10c8 100644 (file)
@@ -601,7 +601,7 @@ static rtx last_scheduled_insn;
 /* Compute cost of executing INSN.
    This is the number of cycles between instruction issue and
    instruction results.  */
-HAIFA_INLINE int
+int
 insn_cost (rtx insn)
 {
   int cost;
@@ -4721,8 +4721,6 @@ check_cfg (rtx head, rtx tail)
 
 #endif /* ENABLE_CHECKING */
 
-const struct sched_scan_info_def *sched_scan_info;
-
 /* Extend per basic block data structures.  */
 static void
 extend_bb (void)
index 6d263de..8557b0b 100644 (file)
@@ -1362,7 +1362,7 @@ vn_reference_insert_pieces (tree vuse, alias_set_type set, tree type,
 
 /* Compute and return the hash value for nary operation VBO1.  */
 
-inline hashval_t
+hashval_t
 vn_nary_op_compute_hash (const vn_nary_op_t vno1)
 {
   hashval_t hash = 0;