This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] bootstrap failure with checking disabled [patch]
- From: Diego Novillo <dnovillo at redhat dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 05 Sep 2003 08:18:44 -0400
- Subject: [tree-ssa] bootstrap failure with checking disabled [patch]
- Organization: Red Hat Canada
My patch for optimizing .GLOBAL_VAR introduces a mis-comparison on
i386.o. I'm temporarily disabling the optimization until I fix the
problem.
* tree-dfa.c (find_referenced_vars): Temporarily disable
.GLOBAL_VAR optimization.
Index: tree-dfa.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-dfa.c,v
retrieving revision 1.1.4.153
diff -d -u -p -r1.1.4.153 tree-dfa.c
--- tree-dfa.c 4 Sep 2003 13:52:37 -0000 1.1.4.153
+++ tree-dfa.c 5 Sep 2003 12:16:18 -0000
@@ -1911,7 +1911,7 @@ find_referenced_vars (tree fndecl)
all target libraries. Compile times were found to take 1% more
compared to using .GLOBAL_VAR. */
{
- const int n_calls = 2500;
+ const int n_calls = 0;
const size_t n_clobbers = 200;
if (walk_state.num_calls * num_call_clobbered_vars < n_calls * n_clobbers)