summaryrefslogtreecommitdiff
path: root/libcpp/system.h
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2016-02-10 17:45:52 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2016-02-10 17:45:52 +0000
commiteb76579392e0d61b9f33c90fdd8b620e563d0a12 (patch)
tree4307edacc6d226e528b690b44a329d430fe03a61 /libcpp/system.h
parent2d9d01985a7a7866916fafa19c5c296702e69714 (diff)
downloadgcc-eb76579392e0d61b9f33c90fdd8b620e563d0a12.tar.gz
2016-02-10 Basile Starynkevitch <basile@starynkevitch.net>
{{merging with even more of GCC 6, using subversion 1.9 svn merge -r227401:227700 ^/trunk }} git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@233282 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/system.h')
-rw-r--r--libcpp/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/system.h b/libcpp/system.h
index b18d658a9a2..a2e8c26b0b0 100644
--- a/libcpp/system.h
+++ b/libcpp/system.h
@@ -230,7 +230,7 @@ extern int errno;
/* The outer cast is needed to work around a bug in Cray C 5.0.3.0.
It is necessary at least when t == time_t. */
#define INTTYPE_MINIMUM(t) ((t) (INTTYPE_SIGNED (t) \
- ? ~ (t) 0 << (sizeof(t) * CHAR_BIT - 1) : (t) 0))
+ ? (t) 1 << (sizeof (t) * CHAR_BIT - 1) : (t) 0))
#define INTTYPE_MAXIMUM(t) ((t) (~ (t) 0 - INTTYPE_MINIMUM (t)))
/* Use that infrastructure to provide a few constants. */