cgraphunit.c (analyze_functions): Use correct dump file.
authorTeresa Johnson <tejohnson@google.com>
Fri, 9 May 2014 18:31:57 +0000 (18:31 +0000)
committerTeresa Johnson <tejohnson@gcc.gnu.org>
Fri, 9 May 2014 18:31:57 +0000 (18:31 +0000)
2014-05-09  Teresa Johnson  <tejohnson@google.com>

* cgraphunit.c (analyze_functions): Use correct dump file.

From-SVN: r210286

gcc/ChangeLog
gcc/cgraphunit.c

index 20192f6..67bfdbf 100644 (file)
@@ -1,3 +1,7 @@
+2014-05-09  Teresa Johnson  <tejohnson@google.com>
+
+       * cgraphunit.c (analyze_functions): Use correct dump file.
+
 2014-05-09  Florian Weimer  <fweimer@redhat.com>
 
        * cfgexpand.c (stack_protect_decl_p): New function, extracted from
index d06ce32..9b51135 100644 (file)
@@ -984,7 +984,7 @@ analyze_functions (void)
       first_analyzed_var = varpool_first_variable ();
       first_analyzed = cgraph_first_function ();
 
-      if (changed && dump_file)
+      if (changed && cgraph_dump_file)
        fprintf (cgraph_dump_file, "\n");
 
       /* Lower representation, build callgraph edges and references for all trivially