X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libdecnumber%2FdecContext.c;h=5553c02af7348f1fd39c8365f3bf644f8cfbb517;hb=18493a005acc8fbccbee4a2b767334eaaf636dd2;hp=1756dcb2522f10ed9efe468a4a0e8f7f8c84509e;hpb=626aaf890945123ad73b1d9da5cd8bcc1f22f7ae;p=deliverable%2Fbinutils-gdb.git diff --git a/libdecnumber/decContext.c b/libdecnumber/decContext.c index 1756dcb252..5553c02af7 100644 --- a/libdecnumber/decContext.c +++ b/libdecnumber/decContext.c @@ -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