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]

[PATCH] Remove tuples debugging hack


Hi!

This looks like a debugging hack from the early tuplification days,
certainly it is unexpected if compiler changes its output depending
on an undocumented env variable.

Ok for trunk?

2008-10-20  Jakub Jelinek  <jakub@redhat.com>

	* tree-inline.c (tree_inlinable_function_p): Remove tuples
	debugging hack.

--- gcc/tree-inline.c.jj	2008-09-17 17:58:48.000000000 +0200
+++ gcc/tree-inline.c	2008-10-20 12:46:01.000000000 +0200
@@ -2316,13 +2316,7 @@ declare_return_variable (copy_body_data 
 bool
 tree_inlinable_function_p (tree fn)
 {
-  bool ret = inlinable_function_p (fn);
-
-  if (getenv ("TUPLES_INLINE"))
-    fprintf (stderr, "Function %s is %sinlinable\n", get_name (fn),
-	     ret ? "" : "not ");
-
-  return ret;
+  return inlinable_function_p (fn);
 }
 
 static const char *inline_forbidden_reason;

	Jakub


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