diff gcc/tree-phinodes.c @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents b7f97abdc517
children 04ced10e8804
line wrap: on
line diff
--- a/gcc/tree-phinodes.c	Tue May 25 18:58:51 2010 +0900
+++ b/gcc/tree-phinodes.c	Tue Mar 22 17:18:12 2011 +0900
@@ -1,5 +1,6 @@
 /* Generic routines for manipulating PHIs
-   Copyright (C) 2003, 2005, 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2005, 2007, 2008, 2009, 2010
+   Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -26,7 +27,7 @@
 #include "ggc.h"
 #include "basic-block.h"
 #include "tree-flow.h"
-#include "toplev.h"
+#include "diagnostic-core.h"
 #include "gimple.h"
 
 /* Rewriting a function into SSA form can create a huge number of PHIs
@@ -153,7 +154,7 @@
     }
   else
     {
-      phi = (gimple) ggc_alloc (size);
+      phi = ggc_alloc_gimple_statement_d (size);
 #ifdef GATHER_STATISTICS
       phi_nodes_created++;
 	{