kai
1a8c3588b5
Fix for issue #420 .
...
The frontend only creates a scalar literal instead of an
array literal in order to initialize a vector field. This
commit adds the missing code.
2013-07-01 00:48:44 +02:00
Alexey Prokhin
324ff01fdb
Enabled another exception chaining test
2013-06-19 10:11:12 +04:00
Alexey Prokhin
09c471ae74
Properly implement exception chaining
2013-06-18 17:06:00 +04:00
David Nadlinger
6a1fef81f4
Test suite updates.
2013-06-16 01:06:20 +02:00
David Nadlinger
bed6243481
LDC does not support -transition yet.
2013-06-15 22:57:57 +02:00
David Nadlinger
08f27c0b6d
Test suite updates.
2013-06-15 22:55:28 +02:00
David Nadlinger
4f1374e211
Fold in testsuite merge fixes.
2013-06-14 17:44:08 +02:00
David Nadlinger
48f784eda8
Fold in out-of-source test build adaption changes.
2013-06-13 00:17:39 +02:00
David Nadlinger
292caa1438
Merge the 2.063 frontend.
2013-06-12 20:16:37 +02:00
David Nadlinger
c89d4809d6
Be more lenient with initializer type mismatch; zext as necessary.
...
The integer initializer width mismatch issue should really be
fixed in the frontend, but is related to forward referencing
and thus hard to track down.
Also fixes an unlisted regression since the 2.061 merge, where
there would be a const(char*) vs. immutable(char*) mismatch
reported for some string constants.
GitHub: Fixes #378 .
2013-06-02 21:05:33 +02:00
kai
80c4f953c0
Add test case for issue #328
2013-05-11 23:05:34 +02:00
David Nadlinger
7fe8406ec2
Merge in test cases for GitHub issue #340 .
2013-05-11 22:03:08 +02:00
David Nadlinger
fa729c2faa
Backported fix for broken test case.
2013-05-09 17:46:53 +02:00
David Nadlinger
0c4a987fc4
Temporarily disable failing test.
2013-03-18 13:34:47 +01:00
David Nadlinger
06422ac594
Test suite updates.
2013-03-17 01:59:38 +01:00
David Nadlinger
f77fe89fed
Fold in 2.062 test suite.
2013-03-06 23:42:55 +01:00
David Nadlinger
0b5e04580c
Removed a few D1 leftovers.
2013-03-06 16:46:32 +01:00
David Nadlinger
e05a5c6f22
Fold in d_do_test Windows fixes.
2013-02-26 13:14:32 +01:00
David Nadlinger
f85ed37cf1
Revert "Use CMake-detected make program."
...
CMAKE_MAKE_PROGRAM isn't always (GNU) make, but refers to the
"make" equivalent of the target generator, for example the
"ninja" executable if the Ninja generator is used.
Using find_program or something similar would probably still
be a good idea.
This reverts commit 5a6176316a
.
2013-02-13 16:04:01 +01:00
Sebastian Graf
5ae17a59e4
Fixed broken static struct member initializer
2013-02-11 04:20:59 +01:00
David Nadlinger
060ba45c8e
druntime/dmd-testsuite test fixes.
2013-02-06 22:15:37 +01:00
David Nadlinger
b99b78558b
Hack to make nested struct .init results an rvalue.
...
The code still needs closer scrunity, as the 'nested' test
from the DMD testsuite doesn't fully pass yet.
2013-01-11 21:34:45 +01:00
David Nadlinger
5c518a16ec
Merged 2.061 frontend.
2013-01-04 06:22:53 +01:00
David Nadlinger
d694e37f4a
Fix test suite builds: backport copyright year change.
2013-01-04 01:43:56 +01:00
David Nadlinger
1caf4c9c26
Handle plain AA type <-> AA struct return type mismatch.
...
GitHub: Fixes #214 .
2012-12-31 12:10:46 +01:00
David Nadlinger
f1f0486b6e
Implement ordered delegate comparisons.
...
GitHub: Fixes #256 .
2012-12-28 18:08:49 +01:00
David Nadlinger
b25b46f65b
Merge test case update.
2012-12-27 23:28:01 +01:00
David Nadlinger
aa4543465d
Actually run DMD test suite in 32 bit mode on x86_64 multilib builds.
...
Yet another regression gone unnoticed because CMake functions
silently accept extra arguments.
2012-12-20 03:57:04 +01:00
David Nadlinger
f68e914da6
Workaround for ICE due to auto return type not being inferred.
...
GitHub: Fixes #217 .
2012-12-19 22:55:18 +01:00
David Nadlinger
6e6e03b154
Fold in testsuite fix.
2012-12-19 22:14:13 +01:00
David Nadlinger
fb363972f0
Fix handling of NewExpression for structs with constructors.
...
The frontend treats the constructor as returning a reference to
the new instance, we just want the memory, i.e. a pointer.
GitHub: Fixes #246 .
2012-12-19 20:57:52 +01:00
David Nadlinger
9cbfc604c7
Fix ICE with closures in member functions.
...
I chose to fix the problem this way because it increases uniformity
between 'this' and normal explicit parameters. Another possibility
would be to just change the type determinatin code in
DtoCreateNestedContextType to not expect the value to be already
present, because it doesn't need it when isVthisPtr is true anyway.
GitHub: Fixes #217 .
2012-12-19 20:27:19 +01:00
David Nadlinger
e068df24b2
Workaround for AA literal initialization ICE.
...
Just executing toConstElem speculatively in
AssocArrayLiteralExp::toElem probably isn't the best idea
anyway, I would not be surprised if there are other similar bugs.
GitHub: Fixes #248 .
2012-12-19 02:09:19 +01:00
David Nadlinger
3fc9a0faa3
CMake 2.8.0 compatibility.
2012-12-11 23:08:13 +01:00
David Nadlinger
ee80f37ddc
Ignore in-tree files produced by the D1 tests.
2012-12-08 23:57:21 +01:00
David Nadlinger
a74e4abe58
Fix testsuite target dependency setup.
...
No idea how this worked locally.
2012-12-07 00:04:03 +01:00
David Nadlinger
5a6176316a
Use CMake-detected make program.
...
This probably doesn't make a huge difference in practice, as the
DMD test suite scripts require a Posix-ish environment anyway.
2012-12-06 23:17:32 +01:00
David Nadlinger
6cb0193c53
Clean files from previous runs before executing DMD testsuite.
2012-12-06 23:15:45 +01:00
David Nadlinger
18e0fafe8e
Run tests both in 32 and 64 bit mode on multilib builds.
2012-12-06 21:57:18 +01:00
David Nadlinger
93d4d90239
Inline IR testsuite updates.
2012-11-17 11:07:55 +01:00
David Nadlinger
636b37d056
D1 tests: Updated local copy of object.di.
...
The type info layout was changed in DMD; Tango already has the changes.
2012-11-11 00:42:08 +01:00
David Nadlinger
8118c846af
Fixed unlisted contract parameter issue.
...
Thanks to alexrp for mentioning it.
2012-10-07 14:58:01 +02:00
David Nadlinger
051cd7302e
Fixed two issues with nested functions as template alias parameters.
...
Fixes #131 (GitHub).
2012-10-07 03:06:07 +02:00
David Nadlinger
5759ee3e6f
dmd-testsuite updates.
2012-10-05 23:42:26 +02:00
David Nadlinger
4e49814afb
Vector -> static array casts are by address.
...
Fixes #176 (GitHub).
2012-10-05 17:23:31 +02:00
David Nadlinger
4f6ec96b27
Fixed vector initialization involving implicit conversions.
...
Fixes first part of GitHub #176 .
2012-10-03 19:51:04 +02:00
David Nadlinger
0c0e88dda1
Add missing LDMD option handling code.
...
Reusing the existing parsing code for DMD compatibility was a good
idea, copy-pasting the tool together in the middle of the night not
so much.
2012-10-03 19:51:04 +02:00
David Nadlinger
d5d649b9c9
Build DMD testsuite in a debug and a release configuration.
2012-09-29 23:10:30 +02:00
David Nadlinger
c0980de3af
Testsuite updates; run it as part of CI builds.
...
Only can run a quick build because of Travis time restrictions. Should
try to find a set of most-likely-to-fail command line args, maybe
"-O -gc -fPIC"?
2012-09-29 20:59:06 +02:00
David Nadlinger
2750541d0a
druntime and dmd-testsuite updates.
2012-09-07 03:51:33 +02:00