Disable GCC Analyzer test

The compiler is crashing on dll.cpp
This commit is contained in:
Jeffrey Walton 2020-05-10 04:53:45 -04:00
parent 680956e134
commit 72cb91718f
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 5 additions and 1 deletions

View File

@ -558,6 +558,10 @@ if [[ (-z "$HAVE_ANALYZE") ]]; then
fi
fi
# Disable Analyzer for the time being. We are catching a compile crash.
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95031.
HAVE_ANALYZE=0
# GCC 8.0; maybe Clang?
rm -f "$TMPDIR/test.exe" &>/dev/null
if [[ (-z "$HAVE_CET") ]]; then

View File

@ -260,7 +260,7 @@ void AbstractGroup<T>::SimultaneousMultiply(T *results, const T &base, const Int
exponents.reserve(expCount);
unsigned int i;
for (i=0; i<expCount; i++)
for (i=0; expBegin && i<expCount; i++)
{
CRYPTOPP_ASSERT(expBegin->NotNegative());
exponents.push_back(WindowSlider(*expBegin++, InversionIsFast(), 0));