diff options
author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-22 14:04:16 +0000 |
---|---|---|
committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-08-22 14:04:16 +0000 |
commit | 9e80b67b858da11ed16e6880b770e881b576342c (patch) | |
tree | 81bb3dbcd2eb11bcbda0b5066d2c8a4cd44d8a05 /gcc/tree-ssa-alias.c | |
parent | eca54dee9202c70efc7d996ba41019965155564e (diff) | |
download | gcc-9e80b67b858da11ed16e6880b770e881b576342c.tar.gz |
2006-08-22 Daniel Berlin <dberlin@dberlin.org>
PR tree-optimization/28003
* tree-ssa-alias.c (compute_may_aliases): Compute call clobbered
before grouping aliases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116323 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r-- | gcc/tree-ssa-alias.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index cf5ed4e1669..d3c5700c873 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -678,14 +678,14 @@ compute_may_aliases (void) /* Compute type-based flow-insensitive aliasing for all the type memory tags. */ compute_flow_insensitive_aliasing (ai); + + /* Compute call clobbering information. */ + compute_call_clobbered (ai); /* Determine if we need to enable alias grouping. */ if (ai->total_alias_vops >= MAX_ALIASED_VOPS) group_aliases (ai); - /* Compute call clobbering information. */ - compute_call_clobbered (ai); - /* If the program has too many call-clobbered variables and/or function calls, create .GLOBAL_VAR and use it to model call-clobbering semantics at call sites. This reduces the number of virtual operands |