diff options
Diffstat (limited to 'test/spass')
-rw-r--r-- | test/spass/Makefile | 4 | ||||
-rw-r--r-- | test/spass/dfgparser.c | 14 | ||||
-rw-r--r-- | test/spass/iaparser.c | 14 |
3 files changed, 3 insertions, 29 deletions
diff --git a/test/spass/Makefile b/test/spass/Makefile index b964770..30832f8 100644 --- a/test/spass/Makefile +++ b/test/spass/Makefile @@ -1,3 +1,5 @@ +include ../../Makefile.config + CC=../../ccomp CFLAGS=-stdlib ../../runtime -dparse -dclight -dasm -fstruct-passing -fstruct-assign @@ -13,7 +15,7 @@ SRCS=analyze.c clause.c clock.c closure.c cnf.c component.c \ all: spass spass: $(SRCS:.c=.o) - $(CC) $(CFLAGS) -o spass $(SRCS:.c=.o) + $(CC) $(CFLAGS) -o spass $(SRCS:.c=.o) $(LIBMATH) clean: rm -f spass diff --git a/test/spass/dfgparser.c b/test/spass/dfgparser.c index 3691271..b2bfa5d 100644 --- a/test/spass/dfgparser.c +++ b/test/spass/dfgparser.c @@ -359,20 +359,6 @@ typedef struct yyltype /* The parser invokes alloca or malloc; define the necessary symbols. */ -# if YYSTACK_USE_ALLOCA -# define YYSTACK_ALLOC alloca -# else -# ifndef YYSTACK_USE_ALLOCA -# if defined (alloca) || defined (_ALLOCA_H) -# define YYSTACK_ALLOC alloca -# else -# ifdef __GNUC__ -# define YYSTACK_ALLOC __builtin_alloca -# endif -# endif -# endif -# endif - # ifdef YYSTACK_ALLOC /* Pacify GCC's `empty if-body' warning. */ # define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) diff --git a/test/spass/iaparser.c b/test/spass/iaparser.c index 4fa8697..96274df 100644 --- a/test/spass/iaparser.c +++ b/test/spass/iaparser.c @@ -210,20 +210,6 @@ typedef struct yyltype /* The parser invokes alloca or malloc; define the necessary symbols. */ -# if YYSTACK_USE_ALLOCA -# define YYSTACK_ALLOC alloca -# else -# ifndef YYSTACK_USE_ALLOCA -# if defined (alloca) || defined (_ALLOCA_H) -# define YYSTACK_ALLOC alloca -# else -# ifdef __GNUC__ -# define YYSTACK_ALLOC __builtin_alloca -# endif -# endif -# endif -# endif - # ifdef YYSTACK_ALLOC /* Pacify GCC's `empty if-body' warning. */ # define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) |