From: Kenneth Zadeck Date: Wed, 15 Sep 2004 20:54:38 +0000 (+0000) Subject: turn off code clobbering optimization for static variables until X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d2a672d924b9a032b661b5f12f53653aa619505;p=gcc.git turn off code clobbering optimization for static variables until analysis behind it can be fixed in a couple of days. From-SVN: r87564 --- diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index 83f0c369ae0..3f28d75675b 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, {