From bf6beb59be1dd989ed62fa58c52656115d164238 Mon Sep 17 00:00:00 2001 From: Martin Nowak Date: Sat, 29 Aug 2015 10:19:54 +0200 Subject: [PATCH] replace -gc in tests with -g - as we no longer emit D specific DWARF extensions -g just works fine - DW_lang_D is supported since gdb 6.5 --- test/Makefile | 2 +- test/runnable/test11447c.d | 2 +- test/runnable/testabi.d | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/Makefile b/test/Makefile index 6fad95f27f2e..da9ef3b0d5c4 100644 --- a/test/Makefile +++ b/test/Makefile @@ -104,7 +104,7 @@ PHOBOS_PATH=..\..\phobos export DFLAGS=-I$(DRUNTIME_PATH)\import -I$(PHOBOS_PATH) export LIB=$(PHOBOS_PATH) else -export ARGS=-inline -release -gc -O -unittest -fPIC +export ARGS=-inline -release -g -O -unittest -fPIC export DMD=../src/dmd export EXE= export OBJ=.o diff --git a/test/runnable/test11447c.d b/test/runnable/test11447c.d index a540d7340b8b..d09e3d2098f9 100644 --- a/test/runnable/test11447c.d +++ b/test/runnable/test11447c.d @@ -1,6 +1,6 @@ // COMPILE_SEPARATELY // EXTRA_SOURCES: imports/c11447.d -// PERMUTE_ARGS: -allinst -w -debug -gc +// PERMUTE_ARGS: -allinst -w -debug -g import imports.c11447; diff --git a/test/runnable/testabi.d b/test/runnable/testabi.d index 579af04cc051..c50dfbd0ba60 100644 --- a/test/runnable/testabi.d +++ b/test/runnable/testabi.d @@ -1,4 +1,4 @@ -// PERMUTE_ARGS: -release -gc +// PERMUTE_ARGS: -release -g version(Windows) {} else version(X86_64) @@ -924,4 +924,3 @@ string d_generate_functions( ) //pragma( msg, d_generate_functions() ); mixin( d_generate_functions() ); // +/ -