Commit Graph

426 Commits

Author SHA1 Message Date
David Nadlinger
fb79515eee Merged DMD commit 59c07625e84aadd2f684ea77f925ae540d5c8906:
bugzilla 4926 ICE: PREC_zero assertion failure due to unset precedence
2011-04-22 15:03:13 +02:00
David Nadlinger
55315f59ef Merged DMD commit 1e391e49c2d8ec6fa3aaa9d273efad201b757302:
bugzilla 4938 Regression(2.047) dmd segfault when compiling
2011-04-22 14:57:14 +02:00
David Nadlinger
85ff3e6fc0 Merged DMD commit 2c0ac9336c96ece8b1edd691a6cc8a3b64f019b4:
bugzilla 3602 ICE(tocsym.c) compiling a class, if its super class has preconditions
2011-04-22 14:45:52 +02:00
David Nadlinger
8c7e196c3c Merged DMD commit 59d0f4b13384d656fdb66b2dc25c26e6b4cfa1ac:
bugzilla 4768 Regression(1.056): wrong code with forward declaration of enum
2011-04-22 14:44:56 +02:00
David Nadlinger
def096c3ea Merged DMD commit 8fb6d9a935b7b51ca6caf8e26c94125fc317b434:
bugzilla 3665 Regression(1.051, 2.036) Assignment with array slicing does not work
2011-04-22 14:43:56 +02:00
David Nadlinger
a5c1e1364b Updated LLVM version in the »--version« text. 2011-04-20 17:38:08 +02:00
Moritz Warning
252c21c03b trivial fix for inactive debug code 2011-02-24 13:20:03 +01:00
Moritz Warning
240dbdc46d comment out assert for use in ldc1, like it's done in dmd2/expression.c; thanks to fawzi for spotting this 2011-01-28 18:29:08 +01:00
Moritz Warning
a1166db25b fixed support for Haiku; thanks to MrSunshine 2011-01-24 18:58:32 +01:00
Moritz Warning
f48f98c474 another ldc2 merge 2011-01-10 19:45:00 +01:00
Alexey Prokhin
d0c11fbcb2 Updated phobos.patch. Fixed compilation of ldc1 2011-01-08 13:06:44 +03:00
Alexey Prokhin
553d5518b3 Implemented casting of a global variable to a pointer in an initializer. Implemented adding to a pointer in an initializer 2011-01-08 13:01:54 +03:00
Moritz Warning
f6b7d2a030 merge from ldc2 branch 2011-01-04 20:54:46 +01:00
Alexey Prokhin
d1ff4e9fd3 Fix compilation of ldc1 2011-01-04 20:59:39 +03:00
Robert Clipsham
65c892ee62 Merge SiegeLord's dmdfe 1.064 patch. 2011-01-01 21:23:08 +00:00
Moritz Warning
00faa6a906 fixes #421 & #357 :: linkage was not copied; big thanks to SiegeLord 2010-12-19 17:57:39 +01:00
Alexey Prokhin
73c851762b Merged 2010-12-14 14:49:12 +03:00
Alexey Prokhin
c3ea7b27c6 Work on debug 2010-12-14 14:35:48 +03:00
Moritz Warning
4b97c6b6a2 fixes #441 :: Synchronized does not work during Exception-unwinding; thanks rawler 2010-11-14 20:21:09 +01:00
Moritz Warning
ff5a0f3bd7 fixes #438 :: scope attribute broke with dmdfe 1.062 upgrade; thanks to SiegeLord 2010-10-30 18:54:59 +02:00
Moritz Warning
fd4899f46f remove revisions.pl; we go with llvm releases now 2010-10-23 14:10:25 +02:00
Moritz Warning
233299e5c8 Haiku OS support; thanks to MrSunshine 2010-10-04 00:58:14 +02:00
Moritz Warning
2490631d5b missing files from #428 2010-09-28 21:52:50 +02:00
Moritz Warning
f654235139 fixes #432 :: apply DMDFE 1.063; thanks SiegeLord 2010-09-27 00:07:03 +02:00
Moritz Warning
c4e255206a fixes #431 :: apply DMDFE 1.062; thanks SiegeLord 2010-09-27 00:06:28 +02:00
Moritz Warning
b032e3d1f7 fixes #428 :: apply DMDFE 1.061; thanks SiegeLord 2010-09-27 00:05:13 +02:00
Moritz Warning
3db9240c46 see #428 :: make sure semanticRun was not not reset; thanks SiegeLord 2010-09-27 00:04:07 +02:00
Moritz Warning
ba275942cf fixes #427 :: Upgrade to DMDFE 1.059+1.060 patch; thanks to SiegeLord 2010-09-05 19:12:55 +02:00
Moritz Warning
ac5180b65b fixes #426 :: detab'ing the DMDFE source; kudos SiegeLord 2010-09-05 19:04:26 +02:00
Moritz Warning
fbba26f9bb fixes #425 :: Upgrade to DMDFE 1.058 patch; big thanks to SiegeLord 2010-09-04 12:42:38 +02:00
Tomas Lindquist Olsen
1fac40d2bd Update to work with LLVM 2.7.
Removed use of dyn_cast, llvm no compiles
without exceptions and rtti by
default. We do need exceptions for the libconfig stuff, but rtti isn't
necessary (anymore).

Debug info needs to be rewritten, as in LLVM 2.7 the format has
completely changed. To have something to look at while rewriting, the
old code has been wrapped inside #ifndef DISABLE_DEBUG_INFO , this means
that you have to define this to compile at the moment.

Updated tango 0.99.9 patch to include updated EH runtime code, which is
needed for LLVM 2.7 as well.
2010-05-19 12:42:32 +02:00
Matti Niemenmaa
57778a3904 Don't remove an old .o with -output-{bc,ll,s}. 2010-03-09 23:21:48 +02:00
Matti Niemenmaa
7edb3d1875 Don't error out with -singleobj, -of, and -c/-output-{bc,ll,o,s}. 2010-03-09 23:20:39 +02:00
Kelly Wilson
43f243eeb5 Add missing files for the new frontend spell checker 2010-03-08 17:41:36 -07:00
Christian Kamm
1d488da835 Merge DMD 1.057. 2010-03-08 21:39:20 +01:00
Robert Clipsham
daa102a5cd Merge dmd 1.056. 2010-02-06 15:53:52 +00:00
Christian Kamm
8176222719 Disable appending a dchar to a char or wchar array for now.
See [1605] for details.
2010-01-06 19:53:35 +01:00
Leandro Lucarella
cae60aa406 Merge DMD r324: bugzilla 3663 and 3664 - fwd ref regressions
---
 dmd/class.c  |    2 +-
 dmd/enum.c   |    4 +++-
 dmd/enum.h   |    2 ++
 dmd/mars.c   |    2 +-
 dmd/struct.c |    5 ++++-
 5 files changed, 11 insertions(+), 4 deletions(-)
2010-01-06 15:18:23 -03:00
Leandro Lucarella
003f306cba Merge DMD r321: bugzilla 3575 CTFE: member structs not initialized correctly
---
 dmd/expression.c |    4 +---
 dmd/interpret.c  |   32 +++++++++-----------------------
 dmd/mtype.c      |   48 +++++++++++++++++++++++++++++++++++++++++++-----
 dmd/mtype.h      |    2 ++
 4 files changed, 55 insertions(+), 31 deletions(-)
2010-01-06 15:18:23 -03:00
Leandro Lucarella
e7323517b0 Merge DMD r320: refactor
---
 dmd/expression.c |    7 +++----
 dmd/expression.h |    2 +-
 dmd/mtype.c      |   34 ++++++++--------------------------
 3 files changed, 12 insertions(+), 31 deletions(-)
2010-01-06 15:18:23 -03:00
Leandro Lucarella
c7aa3426b3 Merge DMD r319: bugzilla 400 forward reference error...
bugzilla 400 forward reference error; no propety X for type Y (struct
within struct).
---
 dmd/class.c  |   19 +++++++++++++++++--
 dmd/struct.c |   16 ++++++++++++++++
 2 files changed, 33 insertions(+), 2 deletions(-)
2010-01-06 15:18:22 -03:00
Leandro Lucarella
063c55f49f Merge DMD r318: bugzilla 2029 Typesafe variadic functions don't...
bugzilla 2029 Typesafe variadic functions don't work in CTFE.
---
 dmd/aggregate.h |    1 +
 dmd/struct.c    |   16 ++++++++++++++++
 2 files changed, 17 insertions(+), 0 deletions(-)
2010-01-06 15:18:22 -03:00
Leandro Lucarella
edb33b00ee Merge DMD r317: bugzilla 3611 Enum forward referencing regression
---
 dmd/enum.c  |   17 +++++++++++++++--
 dmd/mtype.c |    4 ++++
 2 files changed, 19 insertions(+), 2 deletions(-)
2010-01-06 15:18:22 -03:00
Leandro Lucarella
9ae38b1d03 Merge DMD r316: bugzilla 3628 can't cast null to int
---
 dmd/constfold.c |    2 +-
 dmd/optimize.c  |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
2010-01-06 15:18:22 -03:00
Leandro Lucarella
b9896b9034 Merge DMD r314+r315: bugzilla 2029 Typesafe variadic functions don't...
Both DMD revisions are for fixing bugzilla 2029 (Typesafe variadic
functions don't work in CTFE).

The DMD r314 commit message is:
bugzilla 2029 (Typesafe variadic functions don't work in CTFE

The DMD r315 commit message is:
bugzilla 2029 - try again
---
 dmd/constfold.c   |   11 ++++-
 dmd/declaration.c |   21 +++++++++-
 dmd/declaration.h |   10 ++++-
 dmd/expression.c  |    1 +
 dmd/interpret.c   |  111 +++++++++++++++++++++++++++++++++++++++++++++--------
 dmd/mars.h        |    2 +-
 dmd/mtype.c       |    2 +-
 7 files changed, 135 insertions(+), 23 deletions(-)
2010-01-06 15:18:22 -03:00
Leandro Lucarella
3fc72b7ec3 Merge DMD r310: bugzilla 3645 manifest constant (enum) crashes dmd
---
 dmd/interpret.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
2010-01-06 15:18:22 -03:00
Leandro Lucarella
4d74a325fc Merge DMD r304: refactor invariant => immutable
---
 dmd/cast.c        |    2 +-
 dmd/declaration.c |    2 +-
 dmd/declaration.h |    3 +--
 dmd/doc.c         |    2 +-
 dmd/expression.c  |    6 +++---
 dmd/interpret.c   |    4 ++--
 dmd/mtype.c       |    2 +-
 dmd/mtype.h       |    2 +-
 dmd/parse.c       |    4 ++--
 dmd/struct.c      |    2 +-
 10 files changed, 14 insertions(+), 15 deletions(-)
2010-01-06 15:18:22 -03:00
Leandro Lucarella
6e61ecee6b Merge DMD r303: harmonize
---
 dmd/expression.c |   78 ++++++++++++++++++++++++++++++++++++++++++++++++-----
 dmd/expression.h |    8 +++++
 dmd/template.c   |   27 ++++++++++++-------
 3 files changed, 95 insertions(+), 18 deletions(-)
2010-01-06 15:18:21 -03:00
Leandro Lucarella
072ac6c4e3 Merge DMD r301: a little refactor and harmonize
---
 dmd/declaration.h |    1 +
 dmd/func.c        |   30 ++++++++++++++++++++++++++++++
 dmd/mtype.c       |   51 +++++++++++++++++++++++++++++++++++++--------------
 3 files changed, 68 insertions(+), 14 deletions(-)
2010-01-06 15:18:21 -03:00
Leandro Lucarella
2cdf1f6679 Merge DMD r296: bugzilla 3617 CTFE: wrong code for if(x) where x is int...
bugzilla 3617 CTFE: wrong code for if(x) where x is int or smaller.
---
 dmd/expression.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
2010-01-06 15:18:21 -03:00