aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-02-29 22:34:27 +0000
committerTom Tromey <tromey@redhat.com>2008-02-29 22:34:27 +0000
commit9104ab7d9fa7195996b75694d46a2d1a6411fe2a (patch)
tree4b94690c31c65697d22b5d913c85ca9e6c4326c2
parent4e8b6dd02ce504d23e5bafecb06023cac893a641 (diff)
* cgraphunit.c (cgraph_unit_reset): Use NULL, not NULL_TREE.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/incremental-compiler@132781 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cgraphunit.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6f35af86eb6..a17bfa10e13 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2008-02-29 Tom Tromey <tromey@redhat.com>
+ * cgraphunit.c (cgraph_unit_reset): Use NULL, not NULL_TREE.
+
+2008-02-29 Tom Tromey <tromey@redhat.com>
+
* diagnostic.c (diagnostic_action_after_output) <DK_ICE>: Print
stack trace.
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 5f8b861fbb6..330f1e5018c 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -175,8 +175,8 @@ static int counter = 0;
void
cgraph_unit_reset (void)
{
- static_ctors = NULL_TREE;
- static_dtors = NULL_TREE;
+ static_ctors = NULL;
+ static_dtors = NULL;
first_analyzed = NULL;
first_analyzed_var = NULL;
counter = 0;