Re: gcc-12+: D / phobos runtime

2023-09-12 Thread Richard Biener via Gcc
On Sun, Sep 3, 2023 at 1:45 PM ASSI wrote: > > > Starting with gcc-12, gcd needs a D compiler to bootstrap, but gcc-11 > does not allow to build the necessary runtime on all platforms (Cygwin > for instance). How is the prospective bootstrap sequence on such > platforms? I think we should fix th

Re: Complex numbers in compilers - upcoming GNU Tools Cauldron.

2023-09-12 Thread Richard Biener via Gcc
On Tue, Sep 5, 2023 at 10:44 PM Toon Moene wrote: > > This is going to be an interesting discussion. > > In the upcoming GNU Tools Cauldron meeting the representation of complex > numbers in GCC will be discussed from the following "starting point": > > "Complex numbers are used to describe many p

Re: [RFC] Exposing complex numbers to target backends

2023-09-12 Thread Sylvain Noiry via Gcc
Hi, > [...] > I have sent a little bit earlier a series of patches which describes my > implementation of the support for native complex operations. There are > 8 generic patches and 1 experimental x86 patch which exploits a portion > of the added features. > [...] I've updated my series of patch

Re: Complex numbers in compilers - upcoming GNU Tools Cauldron.

2023-09-12 Thread Martin Uecker via Gcc
Am Dienstag, dem 12.09.2023 um 11:25 +0200 schrieb Richard Biener via Gcc: > On Tue, Sep 5, 2023 at 10:44 PM Toon Moene wrote: > > > > This is going to be an interesting discussion. > > > > In the upcoming GNU Tools Cauldron meeting the representation of complex > > numbers in GCC will be discus

Re: Complex numbers in compilers - upcoming GNU Tools Cauldron.

2023-09-12 Thread Paul Koning via Gcc
> On Sep 12, 2023, at 7:12 AM, Martin Uecker via Gcc wrote: > > Am Dienstag, dem 12.09.2023 um 11:25 +0200 schrieb Richard Biener via Gcc: >>> ... >> >> Lack of applications / benchmarks using complex numbers is also a >> problem for any work on this. > > I could probably provide some exampl

Re: Complex numbers in compilers - upcoming GNU Tools Cauldron.

2023-09-12 Thread Toon Moene
On 9/12/23 11:25, Richard Biener wrote: On Tue, Sep 5, 2023 at 10:44 PM Toon Moene wrote: This is even obvious in weather forecasting software I have to deal with *today* (all written in Fortran). Some models use complex variables to encode the "spectral" (wave-decomposed) computations in pa

Re: gcc-12+: D / phobos runtime

2023-09-12 Thread ASSI
Richard Biener via Gcc writes: > I think we should fix this build problems. Is there a bugzilla with > more details about the problem? No, I don't have an account on that bugtracker. It is possible that the build would perhaps work, but the configure check for the presence of a D compiler requir

Re: gcc-12+: D / phobos runtime

2023-09-12 Thread Rainer Orth
ASSI writes: > Richard Biener via Gcc writes: >> I think we should fix this build problems. Is there a bugzilla with >> more details about the problem? > > No, I don't have an account on that bugtracker. > > It is possible that the build would perhaps work, but the configure > check for the pres

Re: gcc-12+: D / phobos runtime

2023-09-12 Thread Richard Biener via Gcc
> Am 12.09.2023 um 21:18 schrieb ASSI : > > Richard Biener via Gcc writes: >> I think we should fix this build problems. Is there a bugzilla with >> more details about the problem? > > No, I don't have an account on that bugtracker. > > It is possible that the build would perhaps work, but

Re: gcc-12+: D / phobos runtime

2023-09-12 Thread Iain Sandoe
> On 12 Sep 2023, at 20:42, Rainer Orth wrote: > > ASSI writes: > >> Richard Biener via Gcc writes: >>> I think we should fix this build problems. Is there a bugzilla with >>> more details about the problem? >> >> No, I don't have an account on that bugtracker. >> >> It is possible that t

Re: gcc-12+: D / phobos runtime

2023-09-12 Thread ASSI
Rainer Orth writes: > Just try to configure gcc with --enable-libphobos, which overrides the > default of LIBPHOBOS_SUPPORTED. In quite a number of cases, this just > works, but hasn't yet been verified. You won't know until you try, > though. I did that and it indeed doesn't build. Regards, A

Re: gcc-12+: D / phobos runtime

2023-09-12 Thread ASSI
Iain Sandoe writes: > also you can add —with-libphobos-druntime-only to the GCC-11 build, that > makes a compiler sufficient for bootstrapping 12+ and is much less demanding > on completeness of OS support. I think I tried that as well and failed, but thsi was likely on an earlier gcc-11 or even g

Re: gcc-12+: D / phobos runtime

2023-09-12 Thread ASSI
Richard Biener via Gcc writes: >> It is possible that the build would perhaps work, but the configure >> check for the presence of a D compiler requires not just the compiler, >> but also a runtime and thus fails on Cygwin. > > The alternative then ist to build D with a cross compiler. Which also