Commit Graph

1962 Commits

Author SHA1 Message Date
Jonathan MERCIER
775736bfb0 add bash script for autocompletion 2011-08-10 00:46:14 +02:00
David Nadlinger
e63044ecc8 Merge pull request #1 from klickverbot/remove-phobos1
Removed Phobos 1 from LDC tree.
2011-08-08 12:07:30 -07:00
David Nadlinger
3c95ddd3b5 Removed Phobos 1 from LDC tree.
If anyone wanted to ever resurrect LDC1/Phobos (lphobos/README.txt had an »unmaintained« notice for more than three years now), this should be done in an external repository.
2011-08-08 21:00:42 +02:00
David Nadlinger
1cfc243c34 Removed druntime.patch and phobos.patch – we are maintaining our own GitHub forks. 2011-08-08 19:24:58 +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
David Nadlinger
882e81ec1c Explicitly add %st as second argument to fucomip.
It should really be assumed implicitly, but the GNU as shipping with Mac OS X 10.6 (Apple Inc version cctools-800~26, GNU assembler version 1.38) chokes on the instruction otherwise.
2011-05-01 01:16:36 +02:00
Moritz Warning
b122315f2f set used LLVM version to 2.9 2011-06-15 19:16:50 +02:00
Alexey Prokhin
f3bf9fd277 Improve _d_arrayappendT call 2011-05-11 21:13:43 +04:00
Kelly Wilson
5d0f918e9e Fix cmpxchg16b instruction for asm blocks. Thanks to wolfwood from the Xomb project for this fix. 2011-05-05 20:56:46 -06: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
3a0dfac597 Fix file paths in debug info 2011-04-30 17:35:40 +04:00
Alexey Prokhin
316e3b6fe7 That should really be in rev.1954 2011-04-30 17:35:35 +04:00
Alexey Prokhin
6548ce2e79 Fix a crash in OrOrExp::toElem 2011-04-30 15:30:58 +04:00
Alexey Prokhin
8da0d673cf Rework vaarg support on X86_64 2011-04-30 15:30:57 +04:00
Alexey Prokhin
805fb5cfc1 D2: pass static arrays into functions by value 2011-04-30 15:30:57 +04:00
Alexey Prokhin
069f0a6262 Merged changes in TypeDArray::builtinTypeInfo() from dmdfe. 2011-04-30 15:30:57 +04:00
Alexey Prokhin
f351084089 Fix #408: Exception not caught for -inline. Thanks, lindquist, for your hint. 2011-04-30 15:30:57 +04:00
Alexey Prokhin
6bc2431b6b Skip unittests in imported modules 2011-04-30 15:30:57 +04:00
Alexey Prokhin
7070239e7d Temporary fix for inlining 2011-04-30 15:30:57 +04:00
Alexey Prokhin
73e498ace1 Do not use internal linkage for a function nested in a small function that can be inlined from other modules 2011-04-30 15:30:57 +04:00
Kelly Wilson
9e5b0e79e2 Fix up ldc.conf to reflect newer naming convention for tango lib. 2011-04-26 09:16:33 -06:00
David Nadlinger
7a24e12736 Cleanup: Remove unused code in backend, silence some warnings.
This removed quite some clutter that has presumably piled up because LDC is seldom built with a lot of warnings enabled due to DMDFE.
2011-04-24 12:21:33 +02:00
David Nadlinger
009ce6e161 Avoid switch warning in irtype.cpp. 2011-04-24 11:41:41 +02:00
David Nadlinger
8f5f93057c Changed DtoResolveNestedContext() return type to void – it didn't even have a return statement! 2011-04-24 11:39:53 +02:00
David Nadlinger
ca76012343 Add header files to CMake build.
This way, they will be available in IDE project files generated via CMake.
2011-04-24 11:36:09 +02: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