merge from gcc
authorDJ Delorie <dj@redhat.com>
Mon, 30 Nov 2009 21:50:19 +0000 (21:50 +0000)
committerDJ Delorie <dj@redhat.com>
Mon, 30 Nov 2009 21:50:19 +0000 (21:50 +0000)
libdecnumber/ChangeLog
libdecnumber/decContext.c

index b64e561a0cc3f1fb4f1336b617ce6151c4551f15..88df3a4d84be9786a2f2bf8220dce0de946ddd2a 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * decContext.c (decContextTestEndian): Move adj definition into
+       #if DECCHECK guarded code.
+
 2009-09-09  Paolo Bonzini  <bonzini@gnu.org>
 
        * configure: Regenerate.
index 1756dcb2522f10ed9efe468a4a0e8f7f8c84509e..aa8195928e4355d2ebf485e7066bc6233c8b519b 100644 (file)
@@ -393,11 +393,11 @@ Int decContextTestEndian(Flag quiet) {
   if (dle>1) dle=1;          /* ensure 0 or 1 */
 
   if (LITEND!=DECLITEND) {
-    const char *adj;
     if (!quiet) {
+#if DECCHECK
+      const char *adj;
       if (LITEND) adj="little";
             else adj="big";
-#if DECCHECK
       printf("Warning: DECLITEND is set to %d, but this computer appears to be %s-endian\n",
             DECLITEND, adj);
 #endif
This page took 0.026549 seconds and 4 git commands to generate.