diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 74e41d87e1bea270b59c3f893a23105fbfa6ff20..b5bc02cab3197f078c7ddcf38f1de6953d2b5374 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-17  Joseph S. Myers  <joseph@codesourcery.com>
+
+	* gennews (files): Update for GCC 4.0.
+
 2005-03-18  Alexandre Oliva  <aoliva@redhat.com>
 
 	* gcc_update (silent): Unset instead of initializing to null.
diff --git a/contrib/gennews b/contrib/gennews
index 37eb659134b3825ad1ac438a3edbc5e4c0678176..14a76b2251009ba80a6c0c9f872aee36e3d93314 100755
--- a/contrib/gennews
+++ b/contrib/gennews
@@ -3,7 +3,7 @@
 # Script to generate the NEWS file from online release notes.
 # Contributed by Joseph Myers <jsm28@cam.ac.uk>.
 #
-# Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 # This file is part of GCC.
 #
 # GCC is free software; you can redistribute it and/or modify
@@ -22,7 +22,8 @@
 # Boston, MA 02111-1307, USA.
 
 website=http://gcc.gnu.org/
-files="gcc-3.4/index.html gcc-3.4/changes.html
+files="gcc-4.0/index.html gcc-4.0/changes.html
+    gcc-3.4/index.html gcc-3.4/changes.html
     gcc-3.3/index.html gcc-3.3/changes.html
     gcc-3.2/index.html gcc-3.2/changes.html
     gcc-3.1/index.html gcc-3.1/changes.html