Commit graph

39437 commits

Author SHA1 Message Date
Iain Buclaw
1caf0e2271 bump VERSION to v2.109.0 2024-06-01 21:58:33 +00:00
Martin Kinkelin
6cd1c1b978 Don't needlessly cross-preprocess in 2 tests
When running these tests on non-Windows, the compiler would need to
cross-preprocess the .c sources before cross-compiling. DMD doesn't
handle that properly (on Linux, just uses the native preprocessor,
and failing badly with Apple clang on macOS). And for LDC, that would
require an installed C cross-toolchain. That'd be a ridiculous effort
for these 2 tests, so just preprocess and compile them like all other
tests, even if the original problems were on Windows only. No harm in
running these tests on Posix too while targeting Posix.
2024-06-01 14:25:30 +02:00
Martin Kinkelin
2596bf1b38 Fix missing new CastExp field in C++ header 2024-06-01 13:51:00 +02:00
Harry Gillanders
f053ab07d0
Fix Bugzilla Issue 24504 - ImportC: Enum declarations with a mixture of int and uint literal values cause errors, when targeting Windows, when debug info generation is enabled. (#16385) 2024-06-01 12:58:50 +08:00
RazvanN7
ee4f5a04ff Fix Bugzilla Issue 24560 - dmd crash on imported function with default parameter containing new 2024-05-27 16:33:20 +08:00
Iain Buclaw
0e6f8c1b9a bump VERSION to v2.109.0-rc.1 2024-05-27 06:26:35 +00:00
Richard (Rikki) Andrew Cattermole
b74b711f17 Add missing word to CLI documentation of UAX31 table selection flag 2024-05-25 15:17:13 +02:00
Iain Buclaw
aa3533b4e5 machobj: Parse version string using strtoul 2024-05-20 18:53:19 +02:00
Johan Engelen
673ddf38bc
Only test druntime exceptions gdb test case (rt_trap_exceptions_drt_gdb) when gdb is available. (#16513) 2024-05-20 06:17:23 +08:00
Johan Engelen
cc66e60109
Fix bugzilla 24546 for musl libc (#16507) 2024-05-19 18:09:09 +08:00
Nick Treleaven
23f6757be9
Add changelog for #16334 (#16470) 2024-05-10 17:03:18 +02:00
Dennis
109dddb649
Fix error message in deprecation-limit.dd (#16471) 2024-05-10 17:02:53 +02:00
Iain Buclaw
9d079ed826 bump VERSION to v2.109.0-beta.1 2024-05-09 13:15:27 +00:00
Iain Buclaw
1c4dd96875 Merge remote-tracking branch 'upstream/master' into stable 2024-05-09 13:15:05 +00:00
Walter Bright
47901508ba move EEState and Alloca to CGstate 2024-05-09 10:16:55 +02:00
Walter Bright
969c5dadb3 rename ESCAPE to PSOP 2024-05-09 10:16:32 +02:00
Walter Bright
8cca980a66 move Fast to CGstate.Fast 2024-05-09 03:10:28 +02:00
Johan Engelen
0f395e8a60
Rename gdb test case file such that it starts by "gdb" like the other gdb tests. (this enables disabling the test when gdb is not available on the test system) (#16458) 2024-05-09 07:47:24 +08:00
Walter Bright
1f963ecf3b move Auto to CGstate.Auto 2024-05-09 01:34:58 +02:00
Walter Bright
978cdca8b9 replace union eve with union Vconst 2024-05-09 01:33:26 +02:00
Walter Bright
0466791297
bitfields: add bitoffsetof, bitwidth, isBitfield (#16444) 2024-05-08 14:59:34 +03:00
Nick Treleaven
05bf50a59c
[core.attribute] Add cheat sheet links (#16457)
* [core.attribute] Add cheat sheet links

* Stray `)`

* Fix row macro

* Add links
2024-05-08 14:55:21 +03:00
Walter Bright
555ffc982e move Para to CGstate.Para 2024-05-08 10:09:26 +02:00
Nick Treleaven
b5ddf51ea8
Improve @__future deprecation message (#16447)
Show location of base method.
Remove duplicate content in compilable/future.d.
2024-05-08 10:11:38 +03:00
Walter Bright
5eb71e950e separate out constant part of union eve 2024-05-08 08:41:10 +02:00
Walter Bright
95dcf603a7 struct elem: add alias this to remove .EV. pt 6 2024-05-08 07:34:59 +02:00
Walter Bright
dbc1958339 struct elem: add alias this to remove .EV. pt 5 2024-05-08 05:38:53 +02:00
Walter Bright
9cfef9d69d struct elem: add alias this to remove .EV. pt 4 2024-05-08 04:46:40 +02:00
Walter Bright
d755658c12
Revert "Kill off more codegen stuff for ancient x86 cpus" (#16441)
This reverts commit e5d7779794.
2024-05-07 19:17:31 -07:00
Walter Bright
2f2f6508aa
Revert "drop support for pre pentium pro cpus (#16430)" (#16440)
This reverts commit fd74df2c8a.
2024-05-07 19:16:28 -07:00
Walter Bright
1feae96be0 remove workaround for fixed issue 16466 2024-05-08 03:22:09 +02:00
Walter Bright
35c8546ea9 Revert "kill more pre pentirum pro stuff"
This reverts commit ebe8611b12.
2024-05-08 03:22:06 +02:00
Walter Bright
73584dfd52 struct elem: add alias this to remove .EV. 2024-05-08 01:36:08 +02:00
Walter Bright
d94fa11c90 struct elem: add alias this to remove .EV. pt 3 2024-05-08 01:27:20 +02:00
Walter Bright
baa3889636 struct elem: add alias this to remove .EV. pt 2 2024-05-08 01:26:27 +02:00
Dennis
62e5e9f1af
Merge pull request #16422 from rikkimax/kill-omf
Kill off OMF support
2024-05-07 18:24:23 +02:00
Johan Engelen
1beaeff0c3
Fix alignment of calloc memory in rt.dwarfeh (#16446)
The signature of calloc is `void* calloc( size_t num, size_t size )`, where `num` is the number of objects and `size` is the byte size per object. (https://en.cppreference.com/w/c/memory/calloc)
The number of bytes allocated is the same with this fix, but it solves potential memory alignment issues.
2024-05-07 08:02:47 +08:00
zopsicle
5eb426e588 Add module core.sys.linux.sys.mount
The new module core.sys.linux.sys.mount provides definitions corresponding to
those in the header <sys/mount.h> on Linux.
2024-05-07 02:02:11 +02:00
Iain Buclaw
c11e1d1708
Merge pull request #16437 from ibuclaw/merge_stable
bump VERSION to v2.108.1
2024-05-03 20:51:53 +02:00
Iain Buclaw
a3c06458ac Merge remote-tracking branch 'upstream/stable' into merge_stable 2024-05-03 17:17:38 +00:00
Petar Kirov
057fb46e88
Merge pull request #16436 from ntrel/seq-index
[trivial] Fix out of bounds sequence index error message
2024-05-03 19:56:37 +03:00
Nick Treleaven
932ec7a37c Fix out of bounds sequence index error 2024-05-03 10:52:21 +01:00
richard (rikki) andrew cattermole
ad6e0c7a27 Kill off OMF support 2024-05-03 18:24:36 +12:00
Ben Jones
e5d7779794 Kill off more codegen stuff for ancient x86 cpus 2024-05-03 07:02:31 +02:00
Johan Engelen
afc38e9dca
Make distinction between CC and CXX in the testsuite. (#16434)
Clang makes a distinction between clang and clang++. In particular, clang++ will give a warning when it is passed `.c` source files; and the extra output warning text means that dmd testsuite output checking fails. The warning can be silenced (-Wno-deprecated) but then other tests will fail because `#ifdef __cplusplus` will be true, leading to header file import issues.
2024-05-03 07:30:55 +08:00
Ben Jones
ebe8611b12 kill more pre pentirum pro stuff 2024-05-03 00:50:32 +02:00
Ben Jones
fd74df2c8a
drop support for pre pentium pro cpus (#16430) 2024-05-02 14:22:18 +03:00
Iain Buclaw
af92b68a81 bump VERSION to v2.108.1 2024-05-02 06:08:45 +00:00
Nick Treleaven
c61e18410b Fix Bugzilla 24525 - ref lambda not parsed at start of ExpressionStatement 2024-05-02 02:20:32 +02:00
Ben Jones
c6286ab558 backend: use el_scancommas to skip over OPcomma chains 2024-05-02 01:52:26 +02:00