Commit Graph

419 Commits

Author SHA1 Message Date
Tomas Lindquist Olsen
713dfe71b5 clean out obj dir before running mini test. 2008-07-28 07:25:13 +02:00
Tomas Lindquist Olsen
dbebf04b85 removed the old tester.d test driver. 2008-07-28 03:18:15 +02:00
Tomas Lindquist Olsen
675e9b3cf0 testing the new mini test runner features. 2008-07-28 03:04:28 +02:00
Tomas Lindquist Olsen
57fd67aa35 Updated the mini test runner to allow classified tests as
compile,nocompile,run,norun.
2008-07-28 03:03:44 +02:00
Tomas Lindquist Olsen
8c98499193 Fixed issue with internal real representation, incorrect for non x86-32 architectures.
Cleaned up CallExp::toElem, moved implementation to tocall.cpp providing a single procedure to call arbitrary D functions fairly easily.
2008-07-28 02:11:34 +02:00
Christian Kamm
8485be7238 Make RealEquals only compare the data bytes.
Fixes run/t/template_class_13_* regressions introduced in [r401].
2008-07-27 18:52:40 +02:00
Christian Kamm
ad17af1e26 Rework complex addition, substraction and multiplication. Division may need the same.
Fixes run/c/cdouble_09_A,C,D and run/c/cfloat_09_A,C,D.
2008-07-27 17:53:49 +02:00
Christian Kamm
2592d1caa6 Switch TypePointer::isunsigned from false to true, so CmpExp::toElem chooses the right operand for pointer comparisons.
Fixes run/t/typeinfo_03_A,B,C,D.
2008-07-27 17:10:47 +02:00
Christian Kamm
67d242272b Add back generated impcnvtab.c to make premake work the first time. 2008-07-27 16:27:44 +02:00
Tomas Lindquist Olsen
7a5dc3e05f Fixed (I hope) problem with monitor/synchronized stuff not being properly initialized on Windows. 2008-07-27 15:03:04 +02:00
Christian Kamm
5a78083c4c Fix version identifies for EH. 2008-07-27 14:32:51 +02:00
Tomas Lindquist Olsen
1f00395f0b Fixed path seperator issue on windows in linker. 2008-07-27 14:15:22 +02:00
Tomas Lindquist Olsen
b2e13e1b36 Attempt to fix win32/mingw linking related to unresolved data segment start/end symbols. 2008-07-27 14:11:31 +02:00
Christian Kamm
4ca219dccc Automated merge with http://hg.dsource.org/projects/llvmdc 2008-07-27 13:52:14 +02:00
Christian Kamm
c5450a75ef Mark most of the current EH implementation as x86 Linux specific. 2008-07-27 13:51:55 +02:00
Tomas Lindquist Olsen
5589f6b2b7 merge 2008-07-27 13:47:11 +02:00
Tomas Lindquist Olsen
fde6cc98a8 Removed unneeded references to _minit on Windows which breaks linking. _minit is an artifact of DMD on Win32. 2008-07-27 13:46:28 +02:00
Christian Kamm
befaf511e6 Fix compile-time comparison of template value parameters of real type. 2008-07-27 13:29:31 +02:00
Christian Kamm
86819d1cef Should only error if array initializer is too long. Too short is ok. 2008-07-26 17:33:49 +02:00
Christian Kamm
907a03a3be Give error messages for invalid casts.
This required passing Loc information to certain functions.
Fixes nocompile/b/bug_cgcs_354_A/B.
2008-07-26 17:19:16 +02:00
Christian Kamm
a278651178 Add error if array initializer has incorrect length. 2008-07-26 15:42:05 +02:00
Christian Kamm
0c9674e952 Make an unresolved global into an error instead of an assert.
Fixes nocompile/alias_28_A/F.
2008-07-26 15:23:15 +02:00
Christian Kamm
b496d03606 Automated merge with http://hg.dsource.org/projects/llvmdc 2008-07-26 15:12:48 +02:00
Tomas Lindquist Olsen
1e87165fe7 Committed merge 2008-07-26 15:09:33 +02:00
Tomas Lindquist Olsen
70f16e36fb Added bitcode filename to very verbose logging.
Fixed -O<n> switches from llvm 2.4.
Removed md5 from the kdevelop project filelist.
2008-07-26 15:02:57 +02:00
Christian Kamm
a5f976ffce Start a new basic block after a continue statement.
Fixes bug_d_irstate_244_A/b.
2008-07-26 15:00:57 +02:00
Anders Bergh
666e95e44d Add missing "lib" directory 2008-07-25 00:39:24 +02:00
Christian Kamm
732cdc5766 Fix inline asm FS:4 by writing the displacement directly into the asm instead of using %fs:$0 with an input constraint. 2008-07-26 13:38:25 +02:00
Christian Kamm
e6dd53b61c Made setup for runtime calls in dmd frontend allocate less. 2008-07-24 18:51:36 +02:00
Christian Kamm
d4ab377db0 Change from alloca to gc_malloc. The alloca produces a segfault with current llvm svn 2008-07-24 18:21:48 +02:00
Christian Kamm
169fe68a25 Fix argument types for wchar/char reverse and sort. 2008-07-24 18:20:40 +02:00
Tomas Lindquist Olsen
5ddcdea5f2 Added empty file to lib dir so it get's created by hg 2008-07-24 00:35:46 +02:00
Christian Kamm
1eca9acd27 Merge. 2008-07-23 20:27:35 +02:00
Tomas Lindquist Olsen
100c42bca3 Fixed segfault when using va_arg.
Fixed segfault when accessing function symbols from inline asm.
2008-07-23 20:21:18 +02:00
Christian Kamm
9a9e47957b Remove -O0 from command line for compiling tests. 2008-07-23 20:19:58 +02:00
Christian Kamm
c26f33f0bf .hgignore updates. runminitest stores object files separately. 2008-07-23 18:53:44 +02:00
Christian Kamm
a51342ca94 Fix broken switch4.d test case. 2008-07-23 18:04:06 +02:00
Christian Kamm
44931493f6 Fixed root cause for Invalid BitCasts. DtoCanLoad continues to return false
for aggregates even though llvm 2.4svn could load them.
2008-07-23 17:56:09 +02:00
Christian Kamm
b1e8162b7b Mixed up argument types for aApply and aaApply. 2008-07-23 17:55:20 +02:00
Christian Kamm
8f20b1ed00 Introducing opaque type to dmd frontent to be used with certain runtime array
and aa args and returns. There are still some bugs with aas.
2008-07-22 23:06:46 +02:00
Christian Kamm
566eac93fe Get rid of runTimeHack and instead add proper argument info to the frontend
declatation.
2008-07-22 19:24:40 +02:00
Christian Kamm
78c900831a Add all intermediate files to .hgignore. 2008-07-21 20:36:03 +02:00
Christian Kamm
d54a1347a4 Do only link to libpthread, libm and libdl on Linux. 2008-07-21 20:12:24 +02:00
Christian Kamm
e12c58abad Do not strip the leading underscore for typeinfo mangles on Windows. 2008-07-21 20:11:42 +02:00
Christian Kamm
a6d6fd2365 Fix nativeobj extension for Windows. 2008-07-21 20:11:15 +02:00
Tomas Lindquist Olsen
d583262c98 [svn r394] Fixed the new DtoNullValue function 2008-07-15 15:16:56 +02:00
Christian Kamm
625f28814d [svn r393] Started implementation for DtoNullValue. 2008-07-15 14:53:16 +02:00
Christian Kamm
04db1053e0 [svn r392] Make import of std.compat in object.di used for testing public. 2008-07-15 10:56:16 +02:00
Christian Kamm
1486f29abb [svn r391] Fix classes nested inside functions for real. 2008-07-15 10:23:50 +02:00
Christian Kamm
e69f92b613 [svn r390] Make the zero value used when no nested context was created of the correct type.
Fixes run/class_06.
2008-07-15 08:44:08 +02:00