Testsuite: Ensure pie is disabled on some tests
[external/binutils.git] / libdecnumber / decContext.c
index 1756dcb..5553c02 100644 (file)
@@ -1,5 +1,5 @@
 /* Decimal context module for the decNumber C Library.
-   Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2018 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
@@ -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