diff options
author | Kenneth Zadeck <zadeck@gcc.gnu.org> | 2004-09-15 20:54:38 +0000 |
---|---|---|
committer | Kenneth Zadeck <zadeck@gcc.gnu.org> | 2004-09-15 20:54:38 +0000 |
commit | 2d2a672d924b9a032b661b5f12f53653aa619505 (patch) | |
tree | 3e62f881a2244d42ba513ed75fe7817911c95a17 /gcc/tree-ssa-operands.c | |
parent | 971801fff6d8eb0df1486fa6b77ba4cfc4616305 (diff) | |
download | gcc-2d2a672d924b9a032b661b5f12f53653aa619505.zip gcc-2d2a672d924b9a032b661b5f12f53653aa619505.tar.gz gcc-2d2a672d924b9a032b661b5f12f53653aa619505.tar.bz2 |
turn off code clobbering optimization for static variables until
analysis behind it can be fixed in a couple of days.
From-SVN: r87564
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index 83f0c36..3f28d75 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -1586,11 +1586,15 @@ add_call_clobber_ops (tree stmt, tree callee) each static if the call being processed does not read or write that variable. */ - bitmap not_read_b = callee + /* hack to turn off the optimization until I can get the bug fixed. */ + /* bitmap not_read_b = callee ? get_global_statics_not_read (callee) : NULL; bitmap not_written_b = callee ? get_global_statics_not_written (callee) : NULL; + */ + bitmap not_read_b = NULL; + bitmap not_written_b = NULL; EXECUTE_IF_SET_IN_BITMAP (call_clobbered_vars, 0, i, { |