summaryrefslogtreecommitdiff
path: root/gcc/wide-int.cc
diff options
context:
space:
mode:
authorzadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4>2013-08-24 19:53:22 +0000
committerzadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4>2013-08-24 19:53:22 +0000
commit4d69eb474291f41d67eeaa0193f3a7ccb2188655 (patch)
tree49df5ab04b5136a6f9428facfc03152d707894fd /gcc/wide-int.cc
parent5049003783af68047ad621e476c0ddb72fa12155 (diff)
downloadgcc-4d69eb474291f41d67eeaa0193f3a7ccb2188655.tar.gz
made sign parameter optional to wide_int::neg_p
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@201968 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/wide-int.cc')
-rw-r--r--gcc/wide-int.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/wide-int.cc b/gcc/wide-int.cc
index 550172e4ac2..fc3847a5fbc 100644
--- a/gcc/wide-int.cc
+++ b/gcc/wide-int.cc
@@ -1662,7 +1662,7 @@ wide_int_ro::clz () const
else if (!CLZ_DEFINED_VALUE_AT_ZERO (mode, count))
count = precision;
}
- else if (neg_p (SIGNED))
+ else if (neg_p ())
count = 0;
else
{
@@ -1712,7 +1712,7 @@ wide_int_ro::clrsb () const
{
gcc_checking_assert (precision);
- if (neg_p (SIGNED))
+ if (neg_p ())
return operator ~ ().clz () - 1;
return clz () - 1;