diff --git a/gcc/version.c b/gcc/version.c
index ed4d54c749541367fc423798e362d5415958b352..2c94762ebdf4e48860b487084f5fc636b8ba3f5d 100644
--- a/gcc/version.c
+++ b/gcc/version.c
@@ -5,7 +5,7 @@
    please modify this string to indicate that, e.g. by putting your
    organization's name in parentheses at the end of the string.  */
 
-const char version_string[] = "3.5.0 20040406 (experimental)";
+const char version_string[] = "3.5.0 20040407 (experimental)";
 
 /* This is the location of the online document giving instructions for
    reporting bugs.  If you distribute a modified version of GCC,
diff --git a/libstdc++-v3/include/bits/c++config b/libstdc++-v3/include/bits/c++config
index e3536cf4c18ba1891a539db39d380ab1d45936de..d4bd930c54255158dd5efb27727c092c456c3033 100644
--- a/libstdc++-v3/include/bits/c++config
+++ b/libstdc++-v3/include/bits/c++config
@@ -35,7 +35,7 @@
 #include <bits/os_defines.h>
 
 // The current version of the C++ library in compressed ISO date format.
-#define __GLIBCXX__ 20040406
+#define __GLIBCXX__ 20040407
 
 // Allow use of "export template." This is currently not a feature
 // that g++ supports.