Hi,
This patch merges the D front-end with upstream dmd 529110f66.
The git revision hash of libdruntime has also been bumped, though the
only changes made have been outside what is merged downstream.
D front-end changes:
- Import latest bug fixes to mainline.
Bootstrapped and regression te
Excerpts from Jeff Law via Gcc-patches's message of Juni 22, 2022 8:16 pm:
>
>
> On 6/22/2022 11:30 AM, Iain Buclaw via Gcc-patches wrote:
>> Hi,
>>
>> Since around GCC 10, the condition `j < (INTMAX_MAX / 10)' will get
>> optimized into `j !
Hi,
Since around GCC 10, the condition `j < (INTMAX_MAX / 10)' will get
optimized into `j != 922337203685477580', which will result in an
infinite loop for certain inputs of `j'.
This patch just copies the condition already used by the -DTILEPRO
generator code, which doesn't fall into the same tr
Hi,
This patch merges the D front-end with upstream dmd 6203135dc, and the D
run-time library with upstream druntime e150cca1, and phobos a4a18d21c.
D front-end changes:
- Input parameters can now be applied on extern(C++) functions to
bind to `const &' when the `-fpreview=in' flag is
Hi,
This patch adds the `@no_sanitize' attribute to the D front-end.
The `@no_sanitize` attribute disables a particular sanitizer for this
function, analogous to `__attribute__((no_sanitize))'. The library also
defines `@noSanitize' to be compatible with the LLVM D compiler's
`ldc.attributes'.
Hi,
This patch adds the visibility attribute to the D compiler, and library
helpers `@visibility' and `@hidden' to the run-time library.
The `@visibility' attribute is functionality the same as
`__attribute__((visibility))', and `@hidden' is a convenience alias to
`@visibility("hidden")' defined
Hi,
This patch sets the TYPE_ARTIFICIAL flag on internally generated
object.TypeInfo types, preventing them from triggering warnings when
compiling with `-Wpadded'.
Regression tested on x86_64-linux-gnu/-m32/-mx32, committed to mainline,
and backported to the release/gcc-10, gcc-11, and gcc-12 br
Hi,
This patch rejigs the logic for completing D types with (eventually)
recursive references to itself within its members. Because of these
forward/recursive references, the TYPE_SIZE, TYPE_ALIGN, and TYPE_MODE
of structs and enums were set before laying out its members.
This adds a new macro T
Excerpts from Rainer Orth's message of Juni 13, 2022 8:58 pm:
> Hi Iain,
>
>> This patches merges the D front-end with upstream dmd 821ed393d, and the
>> standard library with upstream druntime 454471d8 and phobos 1206fc94f.
>
>> libphobos/ChangeLog:
>>
>> * libdruntime/MERGE: Merge upstream
This patch changes the `Compiler::onParseModule' hook in the D front-end
to scan for declarations of recognised gcc built-ins from any module.
Previously, only the `core.stdc' package was scanned.
In addition to matching of the symbol, any user-applied `@attributes' or
`pragma(mangle)' name will b
Hi,
The existing TypeInfo errors can be cryptic. This patch alters the
diagnostic to include which expression is requiring `object.TypeInfo'.
Bootstrapped and regression tested on x86_64-linux-gnu, and backported
to releases/gcc-12 branch.
Regards,
Iain.
---
gcc/d/ChangeLog:
* d-tree.
Hi,
This patches merges the D front-end with upstream dmd 821ed393d, and the
standard library with upstream druntime 454471d8 and phobos 1206fc94f.
D front-end changes:
- Import latest bug fixes to mainline.
D runtime changes:
- Fix duplicate Elf64_Dyn definitions on Solaris.
- _d_
Hi,
As of gdc-12, the lexer expects there 4 bytes of zero padding at the end
of the source buffer to mark the end of input. Sometimes when reading
from stdin, the data at the end of input is garbage rather than zeroes.
Fix that by explicitly calling memset past the end of the buffer.
Bootstrappe
Excerpts from Rainer Orth's message of Mai 18, 2022 4:40 pm:
> Hi Iain,
>
>> Upstream dmd has now released v2.100.0, this patch merges in the
>> latest bug fixes since the last sync-up of the release branch, as well
>> as all new feature changes on development branch.
> [...]
>> D runtime changes:
Hi,
The first round of adding these missed several more cases in other
files where the Visitor pattern is used in the D front-end.
Bootstrapped on x86_64-linux-gnu, and committed to mainline.
Regards,
Iain.
---
gcc/d/ChangeLog:
* expr.cc: Add "final" and "override" to all "visit" vfunc
Excerpts from David Malcolm's message of Mai 24, 2022 3:15 pm:
> On Tue, 2022-05-24 at 14:56 +0200, Iain Buclaw wrote:
>> Excerpts from David Malcolm via Gcc-patches's message of Mai 23, 2022
>> 9:28 pm:
>> > gcc/d/ChangeLog:
>> > * decl.cc: Add "final" and "override" to all "visit" vfunc
>
Excerpts from David Malcolm via Gcc-patches's message of Mai 23, 2022 9:28 pm:
> gcc/d/ChangeLog:
> * decl.cc: Add "final" and "override" to all "visit" vfunc decls
> as appropriate.
> * expr.cc: Likewise.
> * toir.cc: Likewise.
> * typeinfo.cc: Likewise.
> * typ
Excerpts from Martin Liška's message of Mai 11, 2022 10:17 am:
> On 5/9/22 14:03, Richard Biener wrote:
>> On Thu, May 5, 2022 at 4:30 PM Martin Liška wrote:
>>>
>>> On 5/5/22 14:58, Iain Buclaw wrote:
This D front-end change doesn't look right to me, besides the slight
>>>
>>> Hello.
>>>
>>>
Excerpts from Marc Aurèle La France's message of Mai 20, 2022 6:56 am:
> On Tue, 17 May 2022, Marc Aurèle La France wrote:
>> On Tue, 17 May 2022, Iain Buclaw wrote:
>>> Excerpts from Marc Aurèle La France's message of Mai 17, 2022 5:31 pm:
On Tue, 17 May 2022, Iain Buclaw wrote:
> Excerpt
Excerpts from Marc Aurèle La France's message of Mai 17, 2022 5:31 pm:
> On Tue, 17 May 2022, Iain Buclaw wrote:
>> Excerpts from Marc Aurèle La France's message of Mai 16, 2022 11:34 pm:
>>> On Sun, 15 May 2022, Iain Buclaw wrote:
Excerpts from Marc Aurèle La France's message of Mai 12, 2022
Excerpts from Marc Aurèle La France's message of Mai 16, 2022 11:34 pm:
> On Sun, 15 May 2022, Iain Buclaw wrote:
>> Excerpts from Marc Aurèle La France's message of Mai 12, 2022 10:29 pm:
>
>>> No compiler has any business rejecting files for the sole crime of
>>> being symlinked to. The followi
Hi,
Upstream dmd has now released v2.100.0, this patch merges in the
latest bug fixes since the last sync-up of the release branch.
D front-end changes:
- Import dmd v2.100.0 release.
- The new behavior of issuing deprecation messages for scope
violations has been reverted until ne
Excerpts from Marc Aurèle La France's message of Mai 12, 2022 10:29 pm:
> Greetings.
>
> No compiler has any business rejecting files for the sole crime of being
> symlinked to. The following applies, modulo patch fuzz, to the 9, 10 and 11
> series of compilers.
>
> Given my use of shadow trees,
Hi,
This patch merges the D front-end with upstream dmd 88de5e369,
synchronizing the latest regression fixes from the stable v2.100.0
branch that were found in production and industry codebases.
D front-end changes:
- Merge regression fixes in v2.100.0 branch.
Bootstrapped and regression te
Excerpts from Martin Liška's message of Mai 5, 2022 2:16 pm:
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
>
> Ready to be installed?
> Thanks,
> Martin
>
> gcc/d/ChangeLog:
>
> * longdouble.h: Use ARRAY_SIZE.
>
> diff --git a/gcc/d/longdouble.h b/gcc/d/longdoub
Hi,
This patches merges the D front-end with upstream dmd 081d61e15, and the
the standard library with druntime 9c0d4f91 and phobos dba1bbe27.
Synchronizing the latest bug fixes in the upcoming v2.100 release.
D front-end changes:
- Import dmd v2.100.0-rc.1.
D runtime changes:
- Impor
Hi,
This patches merges the D front-end with upstream dmd 313d28b3d, and the
D runtime library with upstream druntime e361d200.
D front-end changes:
- Import latest bug fixes from the 2.100 release branch.
- Fix signatures of extern C++ functions that have size_t
parameters.
Boots
Hi,
This patch backports r12-3986 to the GCC 9 branch.
For interoperability with C++ EH, the alignment should match, otherwise
D may not be able to intercept exceptions thrown from C++.
Bootstrapped and regression tested on x86_64-linux-gnu.
Regards,
Iain.
---
libphobos/ChangeLog:
* l
This patch backports r12-3986 to the GCC 10 branch.
For interoperability with C++ EH, the alignment should match, otherwise
D may not be able to intercept exceptions thrown from C++.
Bootstrapped and regression tested on x86_64-linux-gnu.
Regards,
Iain.
---
libphobos/ChangeLog:
* libd
This patch backports r12-3986 to the GCC 11 branch.
For interoperability with C++ EH, the alignment should match, otherwise
D may not be able to intercept exceptions thrown from C++.
Bootstrapped and regression tested on x86_64-apple-darwin20.
Regards,
Iain.
---
libphobos/ChangeLog:
*
Fixes a segfault seen on Darwin when a GC scan is ran after a thread has
been destroyed. As the global emutlsArrays hash still has a reference
to the array itself, and tries to iterate all elements.
Setting the length to zero frees all allocated elements in the array,
and ensures that it is skipp
Hi,
This patch merges the D front-end with upstream dmd eb7bee331, and
the standard library with druntime 27834edb and phobos ac296f80c.
D front-end changes:
- Import dmd v2.100.0-beta.1.
- Print deprecation messages for scope violations unless
`-frevert=dip1000' is used.
- Fix
Hi,
This test makes use of the `__vector(int[4])' type, which is not
supported on all targets, so guard the test with target avx_runtime ||
vect_sizes_16B_8B, fixing PR104740.
Regression tested on x86_64-linux-gnu, committed to mainline.
Regards,
Iain.
---
PR d/104740
gcc/testsuite/Ch
Hi,
This patch removes the `-Wtemplate' warnings from the code generation
pass of the D front-end.
These have been superceded by the upstream front-end's own internal
tracking of instantiations, exposed by `-ftransition=templates'.
Bootstrapped on x86_64-linux-gnu, and committed to mainline.
Re
Hi,
This patch fixes an ICE in the D front-end when constructing a complex
object from a struct literal typed as enum __c_complex_float.
The conversion from the special _Complex enum to native complex used
build_complex, however the input value isn't necessarily a literal.
Bootstrapped and regre
Hi,
This patch addresses comments made in PR104552 about documented D
language options.
Bootstrapped and committed to mainline.
Regards,
Iain.
---
gcc/d/ChangeLog:
PR translation/104552
* lang.opt (fdump-cxx-spec=): Fix typo in argument handle.
(fpreview=fixaliasthis):
Hi,
This patch refactors the ImportVisitor to cache the generated result
decl in a hash_map. Originally, these were cached in the front-end AST
node field `isym'. However, this field is soon to be removed.
Bootstrapped and regression tested on x86_64-linux-gnu/m32/mx32, and
committed to mainlin
Excerpts from Rainer Orth's message of März 10, 2022 11:19 am:
> libphobos is currently only enabled on Solaris/x86 with gas. As
> discovered when gdc was switched to the dmd frontend, this initially
> broke bootstrap for the other Solaris configurations.
>
> However, it's now well possible to en
Hi,
This patch merges the D front-end implementation with upstream dmd
423f19b41, as well as the D runtime libraries with druntime 100a608c,
and phobos a1f8c4c07.
D Runtime changes:
- Fix stdc.stdio bindings to not depend on druntime (PR104729).
- Implement stdc.math for Solaris (PR10473
Hi,
This patch removes gdc.test/dhry.d from the testsuite, that was merged
in from the sync with upstream 2.098.0.
This test is not well ported, and doesn't check anything useful.
Committed to mainline.
gcc/testsuite/ChangeLog:
PR d/104736
* gdc.test/runnable/dhry.d: Removed.
-
Hi,
This patch fixes a compilation error on x86_64-w64-mingw32.
Committed to mainline, and backported to releases/gcc-11.
Regards
Iain
---
libphobos/ChangeLog:
PR d/104659
* libdruntime/config/mingw/msvc.c (init_msvc): Fix misspelling of
msvcUsesUCRT.
---
libphobos/lib
Hi,
This patch merges the D front-end implementation with upstream dmd
cf63dd8e5, as well as the D runtime libraries with druntime caf14b0f,
and phobos 41aaf8c26, synchronizing with the release of 2.099.0-rc1.
D front-end changes:
- Import dmd v2.099.0-rc.1.
- The `main' can now return t
Hi,
Now that the `delete' keyword has been removed from the front-end, only
compiler-generated uses of DeleteExp reach the code generator via the
auto-destruction of `scope class' variables.
The run-time library helpers that previously were used to delete GC
class objects can now be removed from
Hi,
This patch merges the D front-end implementation with upstream dmd
cb49e99f8, as well as the D runtime libraries with druntime 55528bd1,
and phobos 1a3e80ec2, synchronizing with the release of 2.099.0-beta1.
D front-end changes:
- Import dmd v2.099.0-beta.1.
- It's now an error to us
Excerpts from Rainer Orth's message of Februar 16, 2022 11:45 pm:
> Hi Iain,
>
>> This patch merges the D front-end implementation with upstream dmd
>> 52844d4b1, as well as the D runtime libraries with druntime dbd0c874,
>> and phobos 896b1d0e1, including the latest features and bug-fixes ahead o
Excerpts from Martin Liška's message of Januar 31, 2022 9:50 am:
> Pushed as obvious.
>
Thanks,
Iain.
Excerpts from Martin Liška's message of Januar 27, 2022 1:40 pm:
> That's follow up patch based on the discussion with Jakub.
>
> Ready to be installed?
> Thanks,
> Martin
>
> gcc/ChangeLog:
>
> * config/rs6000/host-darwin.cc (segv_crash_handler):
> Do not use leading capital letter.
Excerpts from Martin Liška's message of Januar 14, 2022 4:51 pm:
> On 1/14/22 16:46, Martin Liška wrote:
>> Hello.
>>
>> I noticed that when I run:
>> ACLOCAL=~/bin/automake-1.15.1/bin/aclocal
>> AUTOMAKE=~/bin/automake-1.15.1/bin/automake autoconf
>>
>> in gcc subfolder I get the following dif
Excerpts from Martin Liška's message of Dezember 22, 2021 1:57 pm:
> I replaced and verified http:// links for various domains.
>
> Ready to be installed?
> Tahnks,
> Martin
>
Hi,
> gcc/d/ChangeLog:
>
> * gdc.texi: Replace http:// with https.
>
> ---
> gcc/d/gdc.texi
This patch backports the change in mainline that adds power*-*-freebsd*
as supported targets for libphobos, which soft depends on another change
in mainline that adds FreeBSD_13 support for the bindings.
Regression tested on powerpc64-portbld-freebsd13.0, and committed to the
releases/gcc-11 branc
Hi,
This patch adds power*-*-freebsd* as supported targets for libphobos.
This has been tested on powerpc64-freebsd13 and powerpc64le-freebsd13,
and used to build dub, along with some D tools from ports.
Regression tested, and committed to mainline.
Regards,
Iain.
---
libphobos/ChangeLog:
Hi,
This patch backports a specific change from commit r12-6003 to the
release branches to fix the layout of stat_t on MIPS64 targets.
Bootstrapped and regression tested on mips-unknown-linux, with -mabi=64
and -mabi=n32 multilib configurations. Committed to releases/gcc-11,
gcc-10, and gcc-9 br
Hi,
This patch merges the D front-end with upstream dmd ad8412530, and the
run-time libraries with upstream druntime fd9a4544 and phobos 495e835c2.
D front-end changes:
- Import dmd v2.098.1
- Remove calling of _d_delstruct from code generator.
Druntime changes:
- Import druntime v
Hi,
This patch extends AC_PROG_GDC so that as well as checking for the
existence of a GDC compiler, also validate that it has also been built
with libphobos, otherwise warn or fail with the message that GDC is
required to build d.
Tested on a system running powerpcle-linux both without a D compil
Hi,
This patch merges the D front-end implementation with upstream dmd
93108bb9e, and the D run-time libraries with druntime 6364e010 and
phobos 575b67a9b. The internal version of the language has been bumped
to v2.098.1-beta.1.
D front-end changes:
- Import dmd v2.098.1-beta.1.
- Defau
Excerpts from Iain Buclaw's message of December 9, 2021 11:11 pm:
> Excerpts from Andreas Schwab's message of December 9, 2021 11:09 am:
>> Breaks aarch64:
>>
>> ../../../../libphobos/libdruntime/core/sys/linux/unistd.d:10:15: error:
>> module 'core.sys.linux.syscalls' import 'SystemCall' not fou
Hi,
This patch updates the gdc codegen interface for the new front-end.
Bootstrapped and regression tested on x86_64-linux-gnu, committed to
mainline.
Regards,
Iain.
---
gcc/d/ChangeLog:
* Make-lang.in (D_FRONTEND_OBJS): Add d/root-optional.o.
* d-attribs.cc (build_attributes):
Hi,
This patch aligns all D defined methods to MINIMUM_METHOD_BOUNDARY,
improving interoperability with C++ methods.
Bootstrapped and regression tested on x86_64-linux-gnu, committed to
mainline and backported to the release branches.
Regards,
Iain.
gcc/d/ChangeLog:
* decl.cc (get_symb
Excerpts from Andreas Schwab's message of December 9, 2021 11:09 am:
> Breaks aarch64:
>
> ../../../../libphobos/libdruntime/core/sys/linux/unistd.d:10:15: error:
> module 'core.sys.linux.syscalls' import 'SystemCall' not found
>10 | public import core.sys.linux.syscalls : SystemCall;
>
Hi,
This patch merges the D2 testsuite upstream dmd 568496d5b.
Bootstrapped and regression tested on x86_64-linux-gnu/-m32/-mx32, and
committed to mainline.
Regards,
Iain.
---
gcc/d/ChangeLog:
* dmd/MERGE: Merge upstream dmd 568496d5b.
---
gcc/testsuite/gdc.test/compilable/b19294.d
Excerpts from Martin Liška's message of December 6, 2021 1:03 pm:
> Fixes:
> gcc/d/expr.cc:2596:9: runtime error: null pointer passed as argument 2, which
> is declared to never be null
>
> Ready for master?
> Thanks,
> Martin
>
Looks reasonable to me.
Iain.
Hi,
This is the library fix for PR103520 that also prevents the garbage
collector from releasing live memory. However this requires that the
host compiler has been patched with this fix, so the GC will remain
disabled in the D front-end for now until enough time has passed for
this to have trickl
Hi,
This patch fixes a typo that occurred during the splitting of the
std.math module into a package.
Bootstrapped and regression tested on aarch64-linux-gnu, and committed
to mainline.
Regards,
Iain.
---
libphobos/ChangeLog:
* src/std/math/hardware.d (FloatingPointControl.getControlSt
Hi,
This patch disables the D runtime garbage collector after initializing.
Not all targets that support building libdruntime have a stable garbage
collector, so to avoid running into problems where live memory allocated
by the D GC is freed, disable all in-flight collections until a time
when sc
Hi,
This patch prefixes D object files from the root package with 'root-'.
None of the front-end module names in either the dmd or root package
collide just yet, but that does not mean they won't in the future.
Bootstrapped and regression tested on x86_64-linux-gnu, and committed to
mainline.
R
Hi,
This patch adds documentation for the following new D options:
- New switch that controls what code is generated on a contract
failure (throw or abort).
- New switch that controls mangling of D types in `extern(C++)`
code, as well as setting the compile-time value of
Ping.
Are the common gcc parts OK (also for backporting)?
Iain.
Excerpts from Iain Buclaw's message of November 26, 2021 1:51 pm:
> Excerpts from Iain Sandoe's message of November 19, 2021 10:21 am:
>> Hi Iain
>>
>>> On 19 Nov 2021, at 08:32, Iain Buclaw wrote:
>>
>>> This patch fixes a stage
Ping.
Excerpts from Iain Buclaw's message of November 18, 2021 2:06 am:
> Hi,
>
> As asked for, this adds the documentation note in install.texi about the
> upcoming bootstrap requirements.
>
> Obviously this will be applied alongside the patch posted previously:
>
> https://gcc.gnu.org/piperma
This adds new, or updates the dejagu testing scripts for the suite of
libphobos tests.
Bootstrapped, regression tested, and committed to mainline.
Regards,
Iain.
---
libphobos/ChangeLog:
* testsuite/lib/libphobos.exp (libphobos-dg-test): Handle assembly
compile types.
(d
This updates the GDC testsuite parts to be compatible with the current
language features/deprecations. The dejagnu gdc-utils helper has also
been updated to handle the new options and directives added to the D2
testsuite tests.
Bootstrapped, regression tested, and committed to mainline.
Regards,
This is the updated D runtime library testsuite.
Bootstrapped, regression tested, and committed to mainline.
Regards,
Iain.
---
libphobos/ChangeLog:
* testsuite/libphobos.aa/test_aa.d: Update test.
* testsuite/libphobos.exceptions/unknown_gc.d: Likewise.
* testsuite/libp
Updates the make files that build phobos.
Bootstrapped, regression tested, and committed to mainline.
Regards,
Iain.
---
libphobos/ChangeLog:
* src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=dip1000 and
-fpreview=dtorfields flags.
(PHOBOS_DSOURCES): Update list of std m
Updates the make files, and the gdc-specific modules of druntime.
Bootstrapped, regression tested, and committed to mainline.
Regards,
Iain.
---
libphobos/ChangeLog:
* libdruntime/Makefile.am (D_EXTRA_FLAGS): Build libdruntime with
-fpreview=dip1000, -fpreview=fieldwise, and -fp
Excerpts from Iain Buclaw's message of November 26, 2021 1:35 pm:
> Excerpts from Martin Liška's message of November 25, 2021 3:09 pm:
>> On 7/30/21 13:01, Iain Buclaw via Gcc-patches wrote:
>>> |Covers cases where functions that handle the extracted strings ignore th
Excerpts from Iain Sandoe's message of November 19, 2021 10:21 am:
> Hi Iain
>
>> On 19 Nov 2021, at 08:32, Iain Buclaw wrote:
>
>> This patch fixes a stage2 bootstrap failure in the D front-end on
>> darwin due to libgphobos being dynamically linked despite
>> -static-libphobos being on the com
Excerpts from Martin Liška's message of November 25, 2021 3:09 pm:
> On 7/30/21 13:01, Iain Buclaw via Gcc-patches wrote:
>> |Covers cases where functions that handle the extracted strings ignore the
>> explicit length. This isn't something that's known to happen in
Excerpts from Martin Liška's message of November 25, 2021 2:59 pm:
> Fixes:
>
> ==129444==ERROR: AddressSanitizer: global-buffer-overflow on address
> 0x0666ca5c at pc 0x00ef094b bp 0x7fff8180 sp 0x7fff8178
> READ of size 4 at 0x0666ca5c thread T0
> #0 0xef094a in parse_o
Excerpts from Iain Sandoe's message of November 19, 2021 4:59 pm:
> Depending on the permutation of CPU, OS version and shared/non-
> shared library inclusion, we get can get two warnings from the
> external tools (ld64, dsymutil) which are not actually GCC issues
> but relate to the external tools
Hi,
As of macOS 11, libunwind now requires more stack space than 16k, so
default to a larger stack size. This is only applied to X86 as the
PAGESIZE is still 4k, however on AArch64 it is 16k.
Regression tested on x86_64-linux-gnu and x86_64-apple-darwin20,
committed to mainline and backported to
Hi,
This patch fixes a EXC_BAD_ACCESS issue seen on Darwin when the
libphobos DSO gets unloaded. Based on reading libgcc's emutls
implementation, as it doesn't call __gthread_key_delete directly,
neither should libphobos.
Bootstrapped and regression tested on x86_64-linux-gnu and
x86_64-apple-da
Excerpts from Iain Sandoe's message of November 19, 2021 10:21 am:
> Hi Iain
>
>> On 19 Nov 2021, at 08:32, Iain Buclaw wrote:
>
>> This patch fixes a stage2 bootstrap failure in the D front-end on
>> darwin due to libgphobos being dynamically linked despite
>> -static-libphobos being on the com
Hi,
This patch fixes a stage2 bootstrap failure in the D front-end on
darwin due to libgphobos being dynamically linked despite
-static-libphobos being on the command line.
In the gdc driver, this takes the previous fix for the Darwin D
bootstrap, and extends it to the -static-libphobos option as
Hi,
This patch fixes an issue with bootstrap on x86_64-darwin when building
with --enable-werror.
These couple variables are later used as the value for the format
specifier `%wd`, to which the expected type may not match dinteger_t,
causing unnecessary -Wformat warnings.
Bootstrapped and regres
Hi,
As asked for, this adds the documentation note in install.texi about the
upcoming bootstrap requirements.
Obviously this will be applied alongside the patch posted previously:
https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582917.html
Final batch of testing before proceeding has tak
Excerpts from Seija K. via Gcc-patches's message of November 12, 2021 9:29 pm:
> diff --git a/gcc/d/dmd/ctfeexpr.c b/gcc/d/dmd/ctfeexpr.c
> index a8e97833ad0..401ed748f43 100644
> --- a/gcc/d/dmd/ctfeexpr.c
> +++ b/gcc/d/dmd/ctfeexpr.c
> @@ -1350,8 +1350,7 @@ int ctfeRawCmp(Loc loc, Expression *e1,
Hi,
This patch fixes a regression caused by r12-3986. The _Unwind_Exception
struct had its alignment adjusted to 16-bytes in order to be compatible
with other languages, however malloc() on Solaris X86 is not guaranteed
to allocate memory aligned to 16-bytes as well.
Bootstrapped and regression
Hi,
This patch fixes test failures seen on SPARC and HPPA targets. The
value used to initialize the integer field in the union didn't account
for BigEndian targets running this code.
Bootstrapped and regression tested on x86_64-linux-gnu/-m32/-mx32, as
well as sparc-sun-solaris2.11. Committed t
Excerpts from Luís Ferreira's message of October 8, 2021 7:08 pm:
> On Fri, 2021-10-08 at 18:52 +0200, Iain Buclaw wrote:
>> Excerpts from Luís Ferreira's message of October 7, 2021 8:29 pm:
>> > On Tue, 2021-10-05 at 21:49 -0400, Eric Gallager wrote:
>> > >
>> > > I can help with the autotools pa
Excerpts from Luís Ferreira's message of October 7, 2021 8:29 pm:
> On Tue, 2021-10-05 at 21:49 -0400, Eric Gallager wrote:
>>
>> I can help with the autotools part if you can say how precisely you'd
>> like to use them to add address sanitization. And as for the OSS
>> fuzz part, I think someone
Hi,
This patch adds handling of `-static-libstc++' to the gdc driver, so
that libstdc++ is appropriately linked if it is either needed or seen on
the command-line.
This is required for bootstrapping the self hosted D front-end, so will
also be backported to all supported releases.
Bootstrapped a
Hi,
This patch saves target node information before calling
parse_optimize_options in the D "optimize" attribute handler, the same
as is done for C/C++ optimize.
Fixes an ICE seen on PowerPC targets with the attr_optimize*.d tests in
the gdc.dg testsuite.
Bootstrapped and regression tested, and
> On 30/09/2021 02:48 Luís Ferreira wrote:
>
>
> There is some function names with `dlang_parse_` prefix and some with only
> `dlang_` prefix that does parsing. The same happens with `dlang_decode_`.
>
> To make things a bit more consistent and easier to understand, this patch adds
> the missi
Hi,
This patch makes getClassInfo to be analogous to __gdc_personality,
which ignores in-flight exceptions that we haven't collided with yet.
Bootstrapped and regression tested on x86_64-linux-gnu/-m32/-mx32, and
committed to mainline.
Regards
Iain
---
libphobos/ChangeLog:
* libdruntim
Hi,
This patch adds adjusts the `throw' entrypoint to print the stacktrace
of an uncaught exception before terminating.
By default, D run-time has a top level exception handler to catch
anything that was uncaught by user code. However when the
`rt_trapExceptions' flag is cleared, this handler wo
Hi,
This patch simplifies how core runtime constructs the LibBacktrace
object in the event of a segfault during unittests.
The core.runtime module always overrides the default parameter value for
constructor calls. MaxAlignment is not required because a class can be
created on the stack with the
Hi,
This patch gives the definition of _Unwind_Exception on the D side a
suitable alignment. For interoperability with C++ EH, the alignment
should match, otherwise D may not be able to intercept exceptions thrown
from C++. Ideally the correct alignment should be exposed by the
compiler, but for
Hi,
This patch defines the default supplied main function as read when
compiling with `-fmain' as extern(C) when compiling without D runtime.
The default linkage is extern(D), however this does not work when mixing
`-fmain' together with `-fno-druntime'.
Bootstrapped and regression tested on x86
Hi,
This patch fixes an issue with the routine that converts STRING_CST to a
StringExp for the dmd front-end to use during the semantic pass.
The null terminator gets re-added by the ExprVisitor when lowering
StringExp back into a STRING_CST during the code generator pass.
Bootstrapped and regre
Hi,
The D run-time library does not depend on zlib, so only include it in
the library when Phobos is being built as well.
Bootstrapped and regression tested on x86_64-linux-gnu/-m32/-mx32, and
committed to mainline.
Regards,
Iain.
---
libphobos/ChangeLog:
* src/Makefile.am: Don't add z
Hi,
This patch updates the comment for DRUNTIME_OS_SOURCES to reflect new
conditionals that have been added since it was introduced.
Bootstrapped and regression tested on x86_64-linux-gnu/-m32/-mx32, and
committed to mainline.
Regards,
Iain.
---
libphobos/ChangeLog:
* m4/druntime/os.m4
101 - 200 of 558 matches
Mail list logo