David Nadlinger
21a05aa971
Merge branch 'default' into 'merge'.
2011-07-29 00:37:30 +02:00
David Nadlinger
15c5316e26
Prevent two function with same mangled name but different types from being declared.
...
Previously, LDC would crash in the backend due to the fact that the IR is typed in such cases (we recently had such an instance with Tango, where an extern( C ) function was declared once with int and once with size_t).
2011-07-27 23:01:22 +02:00
Alexey Prokhin
a41b822420
Fixed ldc1 compilation
2011-07-26 09:30:36 +04:00
Alexey Prokhin
7a31b599cc
Updated to dmdfe 2.054
2011-07-19 19:20:38 +04:00
Moritz Warning
5824fe4da7
fixes #450 :: real inside a class breaks interface casting on x86_64; patch by prokhin_alexey
2011-05-01 20:05:49 +02:00
Alexey Prokhin
316e3b6fe7
That should really be in rev.1954
2011-04-30 17:35:35 +04:00
Alexey Prokhin
6bc2431b6b
Skip unittests in imported modules
2011-04-30 15:30:57 +04:00
David Nadlinger
8a878fd1d4
Merged DMD commit bb29b7eba53cedf52c732bebd8bd11c042f89da9:
...
fix line ending
---
This is the last commit in the series of merges to the DMD front-end 1.067. The vararg-related changes (e.g. DMD commit d759ab9a5db02a13b923922264751b4a6d0eb9df and 1a7126117786e5c1bc80ea74e1f5bc97cc20d51c, __argTypes, etc.) have not been merged yet.
2011-04-23 21:54:47 +02:00
David Nadlinger
dd2c12f2c0
Merged DMD commit ac11d09afb39556fd995fba2481c274e40437d39:
...
merge
2011-04-23 18:33:57 +02:00
David Nadlinger
ccbbd2b83e
Merged DMD commit 2a9312002c04ccbcc50fc3bb16bd4fbda0841521:
...
merge ibuclaw-master
2011-04-23 18:32:23 +02:00
David Nadlinger
d571eea5e0
Merged DMD commit d19e57c3f0683ac3a0b290f5b73deb86aa1a6441:
...
5105 Member function template cannot be synchronized
Patch by rsinfu
2011-04-23 18:31:07 +02:00
David Nadlinger
907067c4e8
Merged DMD commit c7f94c6b66d3b4233ea01dd3dd9f0028b7118870:
...
5391 Crash with recursive alias declaration
When a recursive alias declaration is encountered, mark it as
type error (not just as an alias to itself of type error).
2011-04-23 18:29:18 +02:00
David Nadlinger
d7eead617e
Merged DMD commit c7f94c6b66d3b4233ea01dd3dd9f0028b7118870:
...
5349 ICE(toir.c): nested class in static member function
When checking if a nested class can reach a parent class, it should not be
possible to jump through static functions. Static member functions were just
being silently ignored, which meant nonsense was passed to the backend.
(Didn't always cause an ICE, sometimes generates nonsense code).
2011-04-23 18:28:36 +02:00
David Nadlinger
3cf9988681
Merged DMD commit b46fe402cff4618f5d49f99d71b8fefb764e16e5:
...
Support HTML5 entities
Patch by ibuclaw and aziz.koeksal
2011-04-23 18:28:03 +02:00
David Nadlinger
3a9e13f2a7
Merged DMD commit ed05e53c187deb7feef7e542b1047dc98104840f:
...
Add link html entity document found by Aziz
2011-04-23 18:25:11 +02:00
David Nadlinger
1432a60a8b
Merged DMD commit f8352960ff2b0533740e29e34bc86d632c8967bf:
...
4245 Declaring conflicting symbols in single function scope allowed
Merged D2->D1
2011-04-23 18:17:13 +02:00
David Nadlinger
2c0f68b5d2
Merged DMD commit 645b5d8797768bced8db0c32dfa03e9290d0ced0:
...
5248 CTFE Segfault when calling a function on an enum struct
Fix the D1 version of this bug, which causes a stack overflow
rather than a segfault:
compiler inserts assert(this, "null this") whereas for D2 it is
assert(&this, "null this")
2011-04-23 18:16:33 +02:00
David Nadlinger
8ba89d5187
Merged DMD commit 66a45813b0e88e3167ce8cf10a399951a95312e4:
...
5221 entity.c: Merge Walter's list with Thomas'
Merged from D2
2011-04-23 18:21:35 +02:00
David Nadlinger
68db93d40c
Changed dmd/entity.c line endings to LF.
2011-04-23 18:20:59 +02:00
David Nadlinger
f0cc2ed42e
Merged DMD commit c0d4f02e996e7913f729102a2c07eedcb015ba90:
...
4878 DDoc: Default arguments can break DDoc output
Merged from D2 into D1
2011-04-23 17:43:25 +02:00
David Nadlinger
6a77728578
Merged DMD commit 2b51411e9e8b7ca3e62747ffb6f96c94089cebcc:
...
4389 ICE(constfold.c) or wrong code: string~=dchar in CTFE
Was failing on D1 because dchar, wchar implicitly convert to char,
even if they don't fit. So we need to check for array~char BEFORE
we check for implicit conversion.
2011-04-23 17:40:23 +02:00
David Nadlinger
625fe5a61d
Merged DMD commit 2f861ed4f230519a8b9d22fce01a80ba26feab5f:
...
bugzilla 5197 Ddoc: access-attributed auto template function crashes dmd
2011-04-23 17:29:10 +02:00
David Nadlinger
228a5cbf1c
Set precedence for TOKgep as well, now that we have the assert back in expToCBuffer.
2011-04-22 23:20:12 +02:00
David Nadlinger
51c1e2f108
Build fix – this accidentally stayed uncommitted since 740bb1aa65ac.
2011-04-22 22:15:40 +02:00
David Nadlinger
334111f220
Now that the fix for the underlying operator precedence issue has been merged in (1b6c0f254e05), remove the workaround.
...
Closes [454].
2011-04-22 22:07:30 +02:00
David Nadlinger
d1b4b0ebf4
Backed out changeset 63942295f48f.
2011-04-22 22:06:24 +02:00
David Nadlinger
476eedcba4
Merged DMD commit c6b6566e95825ad2fcedbe791f04d7f90afa5a0f:
...
bugzilla 5015 Regression(1.061): Cyclic import breaks is() in a static if
2011-04-22 21:07:16 +02:00
David Nadlinger
46d15953e2
Merged DMD commit 7be2ad3a6789fc9f6e36538b293845ffa84ec7d7:
...
more 64
2011-04-22 19:09:25 +02:00
David Nadlinger
2c081edfcd
Merged DMD commit ac685a4b2ec07af83f687f41496e3af02e3f0fe:
...
bugzilla 190 and 4753
2011-04-22 19:08:44 +02:00
David Nadlinger
ab749efffa
Merged DMD commit c0f923145c3b5cd46aa8de3ee2e383ae97c9314d:
...
more 64 fixes
2011-04-22 19:07:42 +02:00
David Nadlinger
b5036e1e35
Merged DMD commit f30daa9797cf620ba264c0446f0215eb2464ea7a:
...
bugzilla 4389 ICE(constfold.c, expression.c), or wrong code: string~=dchar in CTFE
2011-04-22 19:06:47 +02:00
David Nadlinger
650124b284
Merged DMD commit 8647ad1e6986b2849591c34c921fa08d35ffe9d9:
...
Bugzilla 5242 self referencing template constraint crashes compiler
2011-04-22 18:58:36 +02:00
David Nadlinger
94c2145ae5
Merged DMD commit 65e5c33d572077b43385744bb559fc760b4f91d1:
...
fix 2 issues spotted by valgrind
2011-04-22 18:57:30 +02:00
David Nadlinger
7022704598
Merged DMD commit b785b0522f40676c608b1b68aa56a8f806f55175:
...
improve template arg match
2011-04-22 18:54:58 +02:00
David Nadlinger
b937eacc69
Merged DMD commit c0aeb74eb605c02f38bebc6bde819fffdf4b792d:
...
more 64
2011-04-22 18:54:33 +02:00
David Nadlinger
3e75e7ec08
Merged DMD commit 8999f902485d9930332010aeb9db6d44b16bcd4c:
...
Brad's fix for fail278 regression
2011-04-22 18:53:17 +02:00
David Nadlinger
90621b7680
Merged DMD commit 2c48538ffe1a7ec3abf101799aac12f3b172c081:
...
bugzilla 5238 PATCH: fix return of uninitialised var in interpret.c
2011-04-22 18:51:37 +02:00
David Nadlinger
b3f5ad66ad
Merged DMD commit b56c4705f0ba486f99ce642470581bcfc8403a8c:
...
bugzilla 3554 Ddoc generates invalid output for documentation comments with non paired parantheses
2011-04-22 18:48:17 +02:00
David Nadlinger
b2ad2172f9
Merged DMD commit c415c01dcd76a8ede43220d14e075109bf24c81a:
...
bugzilla 3276 Recursion broken by alias template parameter
2011-04-22 18:47:33 +02:00
David Nadlinger
f12d7471a3
Merged DMD commit 91a91bcb7882d76e2afd844f14697a75175573d2:
...
bugzilla 5230 Regression(2.041, 1.057) ICE(tocsym.c) overriding a method that has an out contract
2011-04-22 18:47:10 +02:00
David Nadlinger
4e0a896557
Merged DMD commit feb54e8a6ad77b12eefd867e42ea1cf4fdf46341:
...
bugzilla 5145 Regression(2.050, 1.065) override error with forward ref of superclass
2011-04-22 18:46:39 +02:00
David Nadlinger
df1c21bd4d
Merged DMD commit 2101219b7b3fa5f545af8401dcacd2cb91c8ef08:
...
bugzilla 5110 Excess attribute propagation of structs and classes
2011-04-22 18:46:11 +02:00
David Nadlinger
feebe880bc
Merged DMD commit 1a61d2c8de2fe913bc6cbc45a5bce8f86a88d1aa:
...
bugzilla 5182 ICE(expression.c): calling unittest from a function
2011-04-22 18:45:37 +02:00
David Nadlinger
90cb596e14
Merged DMD commit fe063f92ec667d0a8d4e2ab4659919df4360d7e8:
...
bugzilla 4864 ICE(statement.c) Crash on invalid 'if statement' body inside mixin
2011-04-22 18:45:00 +02:00
David Nadlinger
af7559f65c
Merged DMD commit 6669a7678506cd0dc03018ce3a341396b64d2aad:
...
bugzilla 2206 unnamed template mixin of class inside function or class has incorrect classinfo and mangleof
2011-04-22 18:44:11 +02:00
David Nadlinger
65bcab0bd5
Merged DMD commit 6669a7678506cd0dc03018ce3a341396b64d2aad:
...
more 64
2011-04-22 18:42:48 +02:00
David Nadlinger
1ae87178ba
Merged DMD commit fb9df45c499e7e314642fc2de2ae6fd0ba1cfbbd:
...
-m
This commit actually adds some more import hints.
2011-04-22 18:41:16 +02:00
David Nadlinger
da06f7c4e3
Merged DMD commit 20fb0fd8b8f214db21d346ac053aad7663efbbdd:
...
bugzilla 5195 Forward references ignore const
2011-04-22 18:34:52 +02:00
David Nadlinger
c7205fe4fb
Merged DMD commit ee27f87bd4f02fc3edbeb2d110333cb162427e08:
...
bugzilla 5164 Error without line number using 'is (T...)'
2011-04-22 18:34:19 +02:00
David Nadlinger
90c2240d6b
Merged DMD commit 3803c7bdc266b45c102a9c5dd33bc788994dc3ea:
...
bugzilla 5180 ICE(arrayop.c) in-place array operation on incompatible types
2011-04-22 18:33:35 +02:00