aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-01-07 16:49:37 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-01-07 16:49:37 +0000
commit2eac9a765c07d55499a32f7e8bbd76440969665a (patch)
tree79525c7487428373724661817898f39e79727ebe
parent3a7b9fdaf63436ea0c43acc53457495bd36791b7 (diff)
downloadgcc-2eac9a765c07d55499a32f7e8bbd76440969665a.zip
gcc-2eac9a765c07d55499a32f7e8bbd76440969665a.tar.gz
gcc-2eac9a765c07d55499a32f7e8bbd76440969665a.tar.bz2
basic-block.h (struct edge_def): Pair dest_idx with goto_locus fields.
2008-01-07 Richard Guenther <rguenther@suse.de> * basic-block.h (struct edge_def): Pair dest_idx with goto_locus fields. From-SVN: r131378
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/basic-block.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4ec6bff..5ea6017 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2008-01-07 Richard Guenther <rguenther@suse.de>
+ * basic-block.h (struct edge_def): Pair dest_idx with goto_locus
+ fields.
+
+2008-01-07 Richard Guenther <rguenther@suse.de>
+
PR tree-optimization/34683
* tree-ssa-sccvn.c (vuses_to_vec): Pre-allocate the vector of
VOPs of the needed size to save memory. Use VEC_quick_push
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index eb719ca..1a678a9 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -132,14 +132,14 @@ struct edge_def GTY(())
/* Location of any goto implicit in the edge, during tree-ssa. */
source_locus goto_locus;
+ /* The index number corresponding to this edge in the edge vector
+ dest->preds. */
+ unsigned int dest_idx;
+
int flags; /* see EDGE_* below */
int probability; /* biased by REG_BR_PROB_BASE */
gcov_type count; /* Expected number of executions calculated
in profile.c */
-
- /* The index number corresponding to this edge in the edge vector
- dest->preds. */
- unsigned int dest_idx;
};
typedef struct edge_def *edge;