Commit a8b5da82 by Alan Mishchenko

Other compiler changes.

parent ba64e786
......@@ -32,7 +32,7 @@ ABC_NAMESPACE_IMPL_START
http://www.emis.de/journals/JGAA/accepted/2004/HarelKoren2004.8.2.pdf
Iterative refinement is described in the paper: F. A. Aloul, I. L. Markov, and K. A. Sakallah.
"FORCE: A Fast and Easy-To-Implement Variable-Ordering Heuristic", Proc. GLSVLSI03.
"FORCE: A Fast and Easy-To-Implement Variable-Ordering Heuristic", Proc. GLSVLSI 03.
http://www.eecs.umich.edu/~imarkov/pubs/conf/glsvlsi03-force.pdf
*/
......
......@@ -52,7 +52,14 @@ static char * DateReadFromDateString( char * datestr );
char * Abc_UtilsGetVersion( Abc_Frame_t * pAbc )
{
static char Version[1000];
#if __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdate-time"
#endif
sprintf(Version, "%s (compiled %s %s)", ABC_VERSION, __DATE__, __TIME__);
#if __GNUC__
#pragma GCC diagnostic pop
#endif
return Version;
}
......
......@@ -21,6 +21,10 @@
#include "bzlib_private.h"
#if (__GNUC__ >= 8)
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
#endif
ABC_NAMESPACE_IMPL_START
......
......@@ -22,8 +22,11 @@
#include "extra.h"
#include "misc/vec/vec.h"
ABC_NAMESPACE_IMPL_START
#if (__GNUC__ >= 8)
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
#endif
ABC_NAMESPACE_IMPL_START
////////////////////////////////////////////////////////////////////////
/// DECLARATIONS ///
......
......@@ -156,6 +156,22 @@ void Mem_FixedStop( Mem_Fixed_t * p, int fVerbose )
/**Function*************************************************************
Synopsis [Wrapper for Mem_FlexStop for use in Vec_AttAlloc]
Description []
SideEffects []
SeeAlso []
***********************************************************************/
void Mem_FlexStop2( Mem_Flex_t * p )
{
Mem_FlexStop( p, 0 );
}
/**Function*************************************************************
Synopsis []
Description []
......
......@@ -50,6 +50,7 @@ extern int Mem_FixedReadMaxEntriesUsed( Mem_Fixed_t * p );
// flexible-size-block memory manager
extern Mem_Flex_t * Mem_FlexStart();
extern void Mem_FlexStop( Mem_Flex_t * p, int fVerbose );
extern void Mem_FlexStop2( Mem_Flex_t * p );
extern char * Mem_FlexEntryFetch( Mem_Flex_t * p, int nBytes );
extern void Mem_FlexRestart( Mem_Flex_t * p );
extern int Mem_FlexReadMemUsage( Mem_Flex_t * p );
......
......@@ -329,7 +329,12 @@ static inline int Abc_Lit2Att4( int Lit ) { assert(Lit >= 0)
typedef ABC_INT64_T abctime;
static inline abctime Abc_Clock()
{
#if (defined(LIN) || defined(LIN64)) && !(__APPLE__ & __MACH__) && !defined(__MINGW32__)
#if defined(__APPLE__) && defined(__MACH__)
#define APPLE_MACH (__APPLE__ & __MACH__)
#else
#define APPLE_MACH 0
#endif
#if (defined(LIN) || defined(LIN64)) && !APPLE_MACH && !defined(__MINGW32__)
struct timespec ts;
if ( clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) < 0 )
return (abctime)-1;
......
......@@ -17,6 +17,10 @@
***********************************************************************/
#include "Fxch.h"
#if (__GNUC__ >= 8)
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
#endif
ABC_NAMESPACE_IMPL_START
////////////////////////////////////////////////////////////////////////
......
......@@ -24,7 +24,7 @@
/*
The interpolation algorithm implemented here was introduced in the paper:
K. L. McMillan. Interpolation and SAT-based model checking. CAV03, pp. 1-13.
K. L. McMillan. Interpolation and SAT-based model checking. CAV 03, pp. 1-13.
*/
////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment