diff options
author | Diego Novillo <dnovillo@redhat.com> | 2004-07-13 20:51:02 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2004-07-13 16:51:02 -0400 |
commit | ee536902d67e3c2a3f7d54676b4099d7ac6ab797 (patch) | |
tree | 14edb8d9ecca028be755be83d160d4682c605332 /gcc/tree-ssa-alias.c | |
parent | a65ab5245668b0e3239f18f4361faa07177a3d3c (diff) | |
download | gcc-ee536902d67e3c2a3f7d54676b4099d7ac6ab797.zip gcc-ee536902d67e3c2a3f7d54676b4099d7ac6ab797.tar.gz gcc-ee536902d67e3c2a3f7d54676b4099d7ac6ab797.tar.bz2 |
re PR tree-optimization/16443 (ICE during linux kernel compilation)
PR tree-optimization/16443
* tree-ssa-alias.c: Add more description for
CALL_CLOBBERED_VARS and ADDRESSABLE_VARS.
* tree-ssa-operands.c (get_asm_expr_operands): Re-order the
clobbering of call-clobbered and addressable variables. If
there are any before aliases have been computed, add them.
testsuite/ChangeLog
PR tree-optimization/16443
* gcc.dg/tree-ssa/20040713-1.c: New test.
From-SVN: r84641
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r-- | gcc/tree-ssa-alias.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index cc0a00a..9da0167 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -164,7 +164,12 @@ static struct ptr_info_def *get_ptr_info (tree t); bitmap call_clobbered_vars; /* Addressable variables in the function. If bit I is set, then - REFERENCED_VARS (I) has had its address taken. */ + REFERENCED_VARS (I) has had its address taken. Note that + CALL_CLOBBERED_VARS and ADDRESSABLE_VARS are not related. An + addressable variable is not necessarily call-clobbered (e.g., a + local addressable whose address does not escape) and not all + call-clobbered variables are addressable (e.g., a local static + variable). */ bitmap addressable_vars; /* 'true' after aliases have been computed (see compute_may_aliases). This |