Commit graph

491 commits

Author SHA1 Message Date
kai
770b436e5c Add testcase for issue #823.
The issue itself was fixed with the ABI rewrite.
The ICE occured with x86_64-linux-gnu.
2015-02-25 07:55:20 +01:00
kai
64627c9660 Connect to changed test case 2015-02-24 23:30:14 +01:00
Martin
7bbcdc1cde Add required druntime and dmd-testsuite fixes. 2015-02-23 22:53:09 +01:00
Kai Nacke
07a27a9bf7 Add test case for issue #809. 2014-12-17 06:42:24 +01:00
Alexey Prokhin
b7a361f467 Fix issue #795 — Struct dtor called twice under some circumstances 2014-11-20 16:19:11 +03:00
kai
e67e472a26 Fix for issue #791.
The ; at the end creates an ExpStatement in the AST with member exp set to
null. Dereferencing exp causes the crash.
IMHO this is a bug in the fontend AST.
2014-11-15 01:27:55 +01:00
kai
e56383cc66 Add test case for issue #637 2014-11-13 11:04:03 +01:00
kai
1183318d40 Implement more LLVM intrinsics as builtins.
New are llvm_floor, llvm_ceil, llvm_trunc, llvm_round, llvm_minnum and llvm_maxnum.
2014-11-12 20:32:18 +01:00
David Nadlinger
9c2bb4e10a Add test case for GitHub issue #762. 2014-11-07 00:03:27 +01:00
kai
08193fd3b4 Merge of missing changes for 2.066.1.
Merge up to 0588458.
2014-10-25 18:05:28 +02:00
David Nadlinger
e9d46b2bb8 Added test cases for GitHub issues #662 and #739. 2014-10-12 19:14:13 +02:00
Alexey Prokhin
9314fc1c1c Fix issue 726: Wrong alignment for struct fields on x86_64/amd64 2014-10-11 18:12:11 +04:00
Alexey Prokhin
0b180be099 [cleanup] Merge common code in IrTypeStruct::get() and IrTypeClass::addBaseClassData() 2014-10-11 17:58:18 +04:00
Kai Nacke
b547f5bbda Fix a bug in the LLVM bswap builtin.
Also adds tests for the new builtins.
2014-10-07 21:55:23 +02:00
Alexey Prokhin
c0d26645fa Merge v2.066.1-rc2
This corresponds to DMD commit 058845871ce29be6f964b25e1881b7d8154adba9
2014-09-21 17:40:57 +04:00
Alexey Prokhin
ce1a41305b Set enclosingScopeExit in glue layer after semantic is done
Otherwise, we may end up with a wrong enclosing statement. It could
happen if a try-finally is rewritten as a try-catch (see NrvoWalker).
In this case, enclosingScopeExit will still point to the old unused
try-finally.
2014-08-24 13:59:18 +04:00
Alexey Prokhin
5bb12b4838 Support generation of type info for enums with floating type 2014-08-24 13:59:02 +04:00
Alexey Prokhin
6953f2bf3a Skip zero sized members when creating llvm type for aggregates 2014-08-24 13:57:27 +04:00
Alexey Prokhin
37f92fa2b6 Update dmd testsuite 2014-08-22 18:00:37 +04:00
Alexey Prokhin
2214728efd Remove DtoCastNull, because DtoNullValue does the same thing (only better) 2014-08-22 16:01:35 +04:00
Alexey Prokhin
c28635225a Update dmd-testsuite 2014-08-22 16:01:34 +04:00
Andreas Hollandt
491c180a54 fix #658 use target names directly instead of LOCATION 2014-07-17 00:10:52 +02:00
David Nadlinger
32283fc479 Always link in libcurl when building dmd-testsuite. 2014-07-14 21:29:17 +02:00
David Nadlinger
7d6f65cba4 Merge testsuite workaround for LLVM issue 20292. 2014-07-14 21:29:17 +02:00
David Nadlinger
271860f049 Work around two more test failures. 2014-07-12 02:55:21 +02:00
David Nadlinger
4df88afd2d Disable test for goto into try block (see #676). 2014-07-11 18:36:51 +02:00
David Nadlinger
67aa758878 Fold in dmd-testsuite updates. 2014-07-11 18:16:49 +02:00
David Nadlinger
fc7acc48fc Add pragma(LDC_extern_weak) for symbols with (ELF-style) weak linkage.
For now, this is only an internal feature to be used in the
implementation of rt.sections_linux.
2014-07-10 00:45:06 +02:00
David Nadlinger
2715c3bf64 Use single test runner executable for unit tests.
This is not only much cleaner than the old hack that depended
on the tested modules not being linked in a second time from
the druntime/Phobos static libraries, but the hack obviously
also doesn't work for shared libraries.

Also unify the naming scheme and adapt the Travis config to
respect it.
2014-07-06 23:16:19 +02:00
David Nadlinger
ad2ca2905d Fold in dmd-testsuite merge conflict fix. 2014-06-30 15:27:22 +02:00
Kai Nacke
59caf77069 Add test suite for DMD 2.065.0 2014-05-15 22:52:31 +02:00
Kai Nacke
09a2b9774d Final fix for issue #424 2014-04-25 18:26:59 +02:00
Kai Nacke
dcf6ffc3a3 Add test for issue #513 2014-01-03 23:09:12 +01:00
Kai Nacke
63d0689e8d Replace deprecated pragma name 2014-01-03 13:58:16 +01:00
David Nadlinger
bcbb13318a Added test for GitHub #556. 2013-12-26 12:39:52 +01:00
Kai Nacke
bea0b597ae Add -nogc switch.
This is a replacement for the -noruntime switch. With the new DSO implementation
every module generates runtime calls. The main motivation for the -noruntime switch
is to avoid implicit GC calls. Therefore a dedicated -nogc switch is introduced.
2013-12-10 18:33:49 +01:00
Kai Nacke
9ecd0da1b6 Add new testsuite.
This adds the DMD 2.064 test suite. It includes a workaround for a LLVM bug in the unit tests, too.
2013-11-08 14:40:45 +01:00
Kai Nacke
4d856b881f Update test suite to 2.064 2013-11-08 09:50:36 +01:00
David Nadlinger
265d3ee069 Do not try to emit nested functions with unanalyzed parents.
GitHub: Fixes #497.
2013-10-13 21:37:53 +02:00
David Nadlinger
07eec1840e Folded in test suite updates. 2013-10-13 21:31:40 +02:00
David Nadlinger
257da5afe5 Bring back -disable-fp-elim.
It was moved to llvm/CodeGen/CommandLineFlags.h.

GitHub: Fixes #502.
2013-10-13 20:26:19 +02:00
kai
d24239cc5d Add test case for issue #461 2013-09-02 04:48:12 +02:00
kai
c95de2ce69 Test case for issue #119 2013-08-18 19:49:50 +02:00
kai
e24c76ec70 Add test case for issue #266 2013-08-18 13:51:57 +02:00
kai
b1160c3d16 Fix for issue #440 2013-08-17 13:02:26 +02:00
kai
967b986629 Fix for issue #430 2013-08-05 21:36:02 +02:00
Alexey Prokhin
8b783da523 Fixed cases where the destructor is called on an uninitialized temporary 2013-07-10 18:15:05 +04:00
Alexey Prokhin
cf32ced6a9 Fixed issue #426 — dtor / destructor not called for (rvalue) struct used in opApply 2013-07-10 13:34:52 +04:00
kai
dc5f0f9f1e Tests for issues #355 and #424 2013-07-07 16:16:12 +02:00
kai
fa40b29160 Fix for issue #419.
The vector type was not handled in `DtoConstArrayInitializer()`.
2013-07-01 07:30:27 +02:00