This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tree-ssa] bootstrap failure with checking disabled [patch]


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)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]