summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorzadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-15 20:54:38 +0000
committerzadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-15 20:54:38 +0000
commit16d3c6c49c31ed9e4e03b4ed630887ad63fcf38e (patch)
tree3e62f881a2244d42ba513ed75fe7817911c95a17 /gcc
parenteb586f2c7457e817e8d516217ea3ac779d6b9bbe (diff)
downloadppe42-gcc-16d3c6c49c31ed9e4e03b4ed630887ad63fcf38e.tar.gz
ppe42-gcc-16d3c6c49c31ed9e4e03b4ed630887ad63fcf38e.zip
turn off code clobbering optimization for static variables until
analysis behind it can be fixed in a couple of days. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87564 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tree-ssa-operands.c6
1 files changed, 5 insertions, 1 deletions
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,
{
OpenPOWER on IntegriCloud