[svn r253] Removed -inlineasm option. inline asm is now enabled by default unless the new -noasm option is passed.

Tried adding a stack trace print when compiler crashes, not sure it's working though.
Changed data layouts to match that of llvm-gcc.
Fixed casting function pointers.
Added support checks in AsmStatement.
This commit is contained in:
Tomas Lindquist Olsen
2008-06-08 19:09:24 +02:00
parent c1d240582d
commit 6ededdd9e3
14 changed files with 85 additions and 46 deletions
+4
View File
@@ -39,6 +39,10 @@ else version (GNU)
{
// use the unoptimized version
}
else version(LLVMDC)
{
// ditto
}
else version (D_InlineAsm_X86)
{
version = Asm86;
+5 -5
View File
@@ -20,14 +20,14 @@ MD=mkdir -p
ADD_CFLAGS=
ADD_DFLAGS=
#CFLAGS=-O $(ADD_CFLAGS)
#CFLAGS=-O3 $(ADD_CFLAGS)
CFLAGS=-g $(ADD_CFLAGS)
#DFLAGS=-release -O -inline -w -nofloat $(ADD_DFLAGS)
DFLAGS=-g -w -nofloat $(ADD_DFLAGS)
#DFLAGS=-release -O3 -inline -w -nofloat $(ADD_DFLAGS)
DFLAGS=-g -w -nofloat -noasm $(ADD_DFLAGS)
TFLAGS=-O -inline -w -nofloat $(ADD_DFLAGS)
#TFLAGS=-g -w -nofloat $(ADD_DFLAGS)
#TFLAGS=-O3 -inline -w -nofloat $(ADD_DFLAGS)
TFLAGS=-g -w -nofloat -noasm $(ADD_DFLAGS)
DOCFLAGS=-version=DDoc