Martin Kinkelin
2dea31b3bb
Top-level posix.mak: Include druntime in test
and clean
rules
...
This probably pre-dates the druntime merge into the dmd repo.
2023-12-09 15:59:14 +01:00
Martin Kinkelin
812d0611f2
Remove deprecated compiler/test/Makefile
2023-12-09 15:59:14 +01:00
Martin Kinkelin
c847abc42a
Remove deprecated compiler Makefiles
2023-12-09 15:59:14 +01:00
Dennis
732090485d
Merge pull request #15893 from adamdruppe/make_pragma_great_again
...
make pragma great again
2023-12-09 14:50:47 +01:00
Walter Bright
3ff8eb67a7
use isXXX() functions for ReturnStatement semantic
2023-12-09 10:07:43 +01:00
Adam D. Ruppe
2d42fdbcf8
make pragma great again
2023-12-08 15:07:33 -05:00
richard (rikki) andrew cattermole
2625a1607c
Initial attempt at stdatomic.h
2023-12-08 12:45:28 +01:00
Walter Bright
d560ead349
fix Issue 24264 - ImportC: inliner trips on _Bool return
2023-12-08 11:01:28 +01:00
Walter Bright
d6ec250275
add SearchOpt to enum type ( #15889 )
2023-12-08 14:56:03 +08:00
Walter Bright
4b78331358
fix Issue 24266 - ImportC: struct initializer entry gets ignored
2023-12-08 07:52:43 +01:00
Dennis Korpel
18930e0890
Fix 24272 - operations.arrayOp is forced @nogc nothrow pure
2023-12-07 12:41:39 +01:00
Walter Bright
f5de34d7d8
Dscope.search: use out parameter
2023-12-07 05:44:19 +01:00
RazvanN7
c26cf35402
Move dmd.aliasthis.isRecursiveAliasThis to mtype.d
2023-12-05 23:40:24 +01:00
Razvan Nitu
7cfa6dc3d2
Delete useless imports from compiler/src/dmd/init.d ( #15884 )
2023-12-05 15:01:51 +02:00
Razvan Nitu
4ea10155ab
Move dmd.aliasthis.resolveAliasThis to dsymbolsem ( #15885 )
2023-12-05 15:01:03 +02:00
Walter Bright
807373ae88
ImportC: support #define IDENT ( expression ) ( #15871 )
2023-12-04 22:16:07 -08:00
Walter Bright
faa773d627
fix Issue 23714 - compilable/testcstuff1.c:213:1: error: static assertion failed: u'ab' == 0x610062 ( #15878 )
2023-12-04 22:12:13 -08:00
Feldwor
b284c7ddb7
Create README.md at ./dmd/druntime/def
...
Adds note about ./def/ folder relationship.
2023-12-05 03:06:31 +01:00
Denis Feklushkin
73c4f211f5
druntime win64.mak: Unused DDOCFLAGS variable removed
2023-12-05 02:06:29 +01:00
Nick Treleaven
7678c1b725
[object] Document setSameMutex
( #15882 )
2023-12-04 16:23:55 +02:00
Martin Kinkelin
6662f4a7f6
macOS CI: Don't brew-install packages provided in the base image already ( #15877 )
...
It's slow and prone to sporadic failures (possibly caused by a missing
initial `brew update` invocation), and seems superfluous for the
used macOS 12+13 GitHub Actions images, according to the CI logs.
2023-12-04 15:05:17 +02:00
Denis Feklushkin
75869864da
druntime: copydir target removed ( #15879 )
...
Co-authored-by: Denis Feklushkin <feklushkin.denis@gmail.com>
2023-12-04 12:53:32 +02:00
Denis Feklushkin
554f822d4b
druntime/test/*.mak: replaces -Isrc by -Iimport ( #15881 )
...
* druntime/test/*.mak: Replace -Isrc by -Iimport
* Fix Windows tests build: rt/tlsgc.d is not in import/ dir
---------
Co-authored-by: Denis Feklushkin <feklushkin.denis@gmail.com>
2023-12-04 12:24:07 +02:00
Iain Buclaw
2bbf64907c
Merge pull request #15874 from ibuclaw/merge_stable
...
merge stable
2023-12-02 16:11:24 +00:00
Iain Buclaw
b932359777
Merge remote-tracking branch 'upstream/stable' into merge_stable
2023-12-02 13:56:46 +00:00
Iain Buclaw
724e0051bb
purge changelog
2023-12-02 13:56:36 +00:00
Iain Buclaw
618bf5d9cb
bump VERSION to v2.106.0
2023-12-02 11:55:22 +00:00
RazvanN7
5a226bac3a
Attempt at fixing gdc regression - part 2
2023-12-01 14:06:52 +00:00
RazvanN7
e8b24b7502
Attempt at fixing gdc regression
2023-12-01 14:06:16 +00:00
Razvan Nitu
67da4bdbbe
Move Dsymbol.setScope to dsymbolsem and make it a visitor ( #15866 )
2023-11-29 12:05:11 +02:00
Martin Kinkelin
1e822de3ff
Fix overzealous assert in TemplateInstance.appendToModuleMember()
...
This assert is hit when compiling a private codebase. I'm not sure
how it comes about, but there are apparently cases where the primary
template instance has a non-root `minst`, but has been added to a
root module's members already (so `memberOf` NOT identical to `minst`),
at the time the primary instance's `minst` is swapped-out with a
root `minst` from a sibling instance (in `templateInstanceSemantic()`).
Previously, the primary instance was appended to 2 root modules in
such a case, most likely causing it to be codegen'd twice.
2023-11-27 23:05:36 +01:00
Dennis
41f3577d7d
Merge pull request #15865 from dlang/stable
...
Merge stable into master
2023-11-26 13:11:56 +01:00
Walter Bright
ec34292ead
fix Issue 24262 - Assert error with bit fields ( #15864 )
2023-11-26 11:52:07 +01:00
Walter Bright
e1197fc765
fix Issue 24257 - ImportC: ICE on accessing last _Bool bitfield ( #15861 )
2023-11-25 22:45:30 +01:00
Martin Kinkelin
27b891c0d8
core.cpuid: Fix div-by-zero on AMD CPUs with 256 (physical?) cores
...
See: https://en.wikipedia.org/wiki/CPUID#EAX=80000008h:_Virtual_and_Physical_address_Sizes
This *might* fix Issue 24254, although I'd expect the read value for
that CPU to be 127 (*physical* cores minus 1), not the problematic 255.
2023-11-24 16:08:08 +01:00
Walter Bright
16426601d6
fix Issue 24042 - ImportC: Error: no definition for static function ( #15857 )
2023-11-24 09:42:20 +01:00
Walter Bright
b063e0c45c
fix Issue 24031 - ImportC: rejects nested C initializers ( #15858 )
2023-11-24 09:41:12 +01:00
Walter Bright
a423208c7a
Fix Issue 24125 - ImportC: vector type initializer not understood ( #15838 )
...
* fix Issue 24125 - ImportC: vector type initializer not understood
* fix Issue 24125 - ImportC: vector type initializer not understood
2023-11-22 20:10:44 -08:00
Razvan Nitu
ed0e42332f
Break dependency of dsymbol.d on dsymbolsem.d ( #15851 )
2023-11-22 18:10:09 +02:00
Walter Bright
8547e96ee1
fix Issue 24200 - ImportC: .di file collected macro conflicts with Special Token ( #15797 )
2023-11-22 11:41:55 +02:00
Martin Kinkelin
ed22f5c28f
ci/run.sh: Avoid deprecated Makefiles ( #15832 )
...
* ci/run.sh: Avoid deprecated Makefiles
* ci/run.sh: Streamline OS_NAME from `darwin` to `osx` on macOS
As DMD uses `osx` as OS in most other places, including the
`generated/osx/release/64` output dir, which is currently wrong
in run.sh's `build_path` and leads to CI failures on macOS.
* GHA: Disable `-debug` for DMD unittests with old host compilers
* GHA: Work around linker errors with -g on macOS 13
See https://issues.dlang.org/show_bug.cgi?id=23517 .
compiler/src/posix.mak sets it to 10.9, compiler/test/Makefile to 11.
2023-11-22 11:41:16 +02:00
Walter Bright
f6802dd63f
replace common.smallbuffer.asDstring() with inline code ( #15846 )
2023-11-22 15:02:51 +08:00
Nicholas Wilson
3d0e2d5c38
Revert "Revert "Move a couple of functions out of dsymbol.d"" ( #15842 )
2023-11-22 14:38:10 +08:00
Walter Bright
4a7d803384
glue code does not need to be C++ ( #15850 )
2023-11-21 22:36:28 -08:00
Walter Bright
b59bc93e2d
fillHole() parameter poffset need not be pointer ( #15849 )
2023-11-21 22:33:23 -08:00
Walter Bright
3c63ad6392
setEthis2(): use ref parameters ( #15848 )
2023-11-22 13:03:24 +08:00
Walter Bright
2b6d6ede1a
simplify toWStringz() ( #15847 )
2023-11-22 13:02:40 +08:00
Nick Treleaven
fe4084e799
Fix error message when leftParenthesis
is missing for is
expression ( #15844 )
2023-11-22 10:58:46 +08:00
Walter Bright
9c06347eeb
rename common/string.d to common/smallbuffer.d
2023-11-21 23:39:34 +01:00
Walter Bright
b280d6b7ba
modernize scanelf.d ( #15550 )
2023-11-21 11:06:28 -08:00