projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e9264a
)
Don't shift signed positive integers into the sign bit
author
Zack Weinberg
<zack@gcc.gnu.org>
Fri, 26 Feb 1999 06:00:48 +0000
(06:00 +0000)
committer
Zack Weinberg
<zack@gcc.gnu.org>
Fri, 26 Feb 1999 06:00:48 +0000
(06:00 +0000)
From-SVN: r25455
gcc/testsuite/gcc.dg/cpp-if3.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.dg/cpp-if3.c
b/gcc/testsuite/gcc.dg/cpp-if3.c
index 2d5b67603ddb4036b06a291ec2fae4981373a431..6dfe39d393270ac4ebdafbef632050430d6d6f38 100644
(file)
--- a/
gcc/testsuite/gcc.dg/cpp-if3.c
+++ b/
gcc/testsuite/gcc.dg/cpp-if3.c
@@
-13,7
+13,7
@@
/* Check left/right shifting with all bits set and with one bit set. */
#if !(~0ULL >> 63) || !(~0ULL << 63) || !(~0LL >> 63) || !(~0LL << 63) || \
- !(LL_MIN >> 63) || !(1LL << 6
3
) || !(ULL_MAX >> 63) || !(1ULL << 63)
+ !(LL_MIN >> 63) || !(1LL << 6
2
) || !(ULL_MAX >> 63) || !(1ULL << 63)
#error "bit shift truncation" /* { dg-bogus "trunc" "bit shift truncation" } */
#endif