From 131f96eb1eda192623b1b3e323a2a0739645b641 Mon Sep 17 00:00:00 2001 From: acqn Date: Sat, 13 Feb 2021 22:11:01 +0800 Subject: [PATCH] Moved testcase for issue #1397. --- test/misc/Makefile | 8 -------- test/{misc => val}/bug1397.c | 0 2 files changed, 8 deletions(-) rename test/{misc => val}/bug1397.c (100%) diff --git a/test/misc/Makefile b/test/misc/Makefile index 3142dcfb8..7a1b82d5f 100644 --- a/test/misc/Makefile +++ b/test/misc/Makefile @@ -108,14 +108,6 @@ $(WORKDIR)/bug1265.$1.$2.prg: bug1265.c | $(WORKDIR) $(LD65) -t sim$2 -o $$@ $$(@:.prg=.o) sim$2.lib $(NULLERR) $(SIM65) $(SIM65FLAGS) $$@ $(NULLOUT) $(NULLERR) -# this one fails with optimizations, without OptBoolTrans it works -$(WORKDIR)/bug1397.$1.$2.prg: bug1397.c | $(WORKDIR) - $(if $(QUIET),echo misc/bug1397.$1.$2.prg) - $(CC65) -O --disable-opt OptBoolTrans -t sim$2 -$1 -o $$(@:.prg=.s) $$< $(NULLERR) - $(CA65) -t sim$2 -o $$(@:.prg=.o) $$(@:.prg=.s) $(NULLERR) - $(LD65) -t sim$2 -o $$@ $$(@:.prg=.o) sim$2.lib $(NULLERR) - $(SIM65) $(SIM65FLAGS) $$@ $(NULLOUT) $(NULLERR) - # should compile, but then hangs in an endless loop $(WORKDIR)/endless.$1.$2.prg: endless.c | $(WORKDIR) $(if $(QUIET),echo misc/endless.$1.$2.prg) diff --git a/test/misc/bug1397.c b/test/val/bug1397.c similarity index 100% rename from test/misc/bug1397.c rename to test/val/bug1397.c