summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 16:46:31 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 16:46:31 +0000
commitc623bf224ae70ba4d72af5fd7b6ce9cefbe48030 (patch)
tree8a7ef94683b5b2f9d6ddab64390028d3726cc272 /gcc
parentfffc53bbf7e2df104ab5de48b7ee7c2a712ca473 (diff)
downloadgcc-c623bf224ae70ba4d72af5fd7b6ce9cefbe48030.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/bitmap.c2
-rw-r--r--gcc/gimple.c2
-rw-r--r--gcc/haifa-sched.c4
-rw-r--r--gcc/tree-ssa-sccvn.c2
5 files changed, 12 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6c525da5d36..794442cc1e8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/bitmap.c b/gcc/bitmap.c
index 8e0a7241104..61a40ee352d 100644
--- a/gcc/bitmap.c
+++ b/gcc/bitmap.c
@@ -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)
diff --git a/gcc/gimple.c b/gcc/gimple.c
index 24727bc8873..91057b4db89 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -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);
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index f876b458d2d..eff10c87628 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -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)
diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c
index 6d263ded177..8557b0b07c9 100644
--- a/gcc/tree-ssa-sccvn.c
+++ b/gcc/tree-ssa-sccvn.c
@@ -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;