+ Fix for GCC Bugzilla Bug 22594
+ Set version string
---
 gcc-3.4.4/gcc/config/i386/xm-mingw32.h |    4 ++++
 gcc-3.4.4/gcc/hwint.h                  |    8 ++++++--
 gcc-3.4.4/gcc/version.c                |    4 ++--
 3 files changed, 12 insertions(+), 4 deletions(-)

Index: b/gcc-3.4.4/gcc/version.c
===================================================================
--- a/gcc-3.4.4/gcc/version.c
+++ b/gcc-3.4.4/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.4.4";
+const char version_string[] = "3.4.4 (REA V4.0 3.4.4-11 2007-02-02)";
 
 /* This is the location of the online document giving instructions for
    reporting bugs.  If you distribute a modified version of GCC,
@@ -14,4 +14,4 @@ const char version_string[] = "3.4.4";
    forward us bugs reported to you, if you determine that they are
    not bugs in your modifications.)  */
 
-const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>";
+const char bug_report_url[] = "<URL:http://www.rea-elektronik.net/>";
Index: b/gcc-3.4.4/gcc/config/i386/xm-mingw32.h
===================================================================
--- a/gcc-3.4.4/gcc/config/i386/xm-mingw32.h
+++ b/gcc-3.4.4/gcc/config/i386/xm-mingw32.h
@@ -27,3 +27,7 @@ Software Foundation, 59 Temple Place - S
 
 /* This is the name of the null device on windows.  */
 #define HOST_BIT_BUCKET "nul"
+
+/* MSVCRT does not support the "ll" format specifier for printing
+  "long long" values.  Instead, we use "I64".  */
+#define HOST_LONG_LONG_FORMAT "I64"
Index: b/gcc-3.4.4/gcc/hwint.h
===================================================================
--- a/gcc-3.4.4/gcc/hwint.h
+++ b/gcc-3.4.4/gcc/hwint.h
@@ -74,10 +74,14 @@ extern char sizeof_long_long_must_be_8[s
 #  define HOST_WIDE_INT_PRINT_DOUBLE_HEX "0x%lx%08lx"
 # endif
 #else
-# define HOST_WIDE_INT_PRINT "ll"
+# ifndef HOST_LONG_LONG_FORMAT
+#  define HOST_WIDE_INT_PRINT "ll"
+# else
+#  define HOST_WIDE_INT_PRINT HOST_LONG_LONG_FORMAT
+# endif
 # define HOST_WIDE_INT_PRINT_C "LL"
   /* We can assume that 'long long' is at least 64 bits.  */
-# define HOST_WIDE_INT_PRINT_DOUBLE_HEX "0x%llx%016llx"
+# define HOST_WIDE_INT_PRINT_DOUBLE_HEX "0x%" HOST_WIDE_INT_PRINT "x%016" HOST_WIDE_INT_PRINT "x"
 #endif /* HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG */
 
 #define HOST_WIDE_INT_PRINT_DEC "%" HOST_WIDE_INT_PRINT "d"

