Fix false -Wodr warnings

2019-04-14 Thread Jan Hubicka
Hi, this patch fixes false warning that is output when different -std settings are used. In this case C++ FE produces same declaration in different representations which differ by 0 sized fileds only. The patch makes them to be ignored (and I checked we ignore them for canonical type merging too)

Re: [libphobos, build] Enable libphobos on Solaris 11/x86

2019-04-14 Thread Rainer Orth
Hi Iain, >> I don't think you need concern yourself with this very much: it's just a >> hack around a Solaris ld bug, suggested by the Solaris linker engineers >> for the moment. Once the dlpi_tls_modid patch lands in Solaris 11.5 >> (this week or next), I'll ask if they see a chance to have

Re: [Patch, fortran] PRs 89843 and 90022 - C Fortran Interop fixes.

2019-04-14 Thread Paul Richard Thomas
Hi Thomas, Thanks a lot. Committed as revision 270353. I was determined not to repeat the PDT experience, which is still nagging at me. That has to be the next major gfc project, I guess. Regards Paul On Sun, 14 Apr 2019 at 18:08, Thomas Koenig wrote: > > Hi Paul, > > > > Please find

Re: [Patch, fortran] PRs 89843 and 90022 - C Fortran Interop fixes.

2019-04-14 Thread Thomas Koenig
Hi Paul, Please find attached the updated patch, which fixes the problem with -m32 in PR90022, eliminates the temporary creation for INTENT(IN) dummies and fixes PR89846. While it looks like it should be intrusive because of its size, I believe that the patch is still safe for trunk since it

Re: AW: [Patch, fortran] PRs 89843 and 90022 - C Fortran Interop fixes.

2019-04-14 Thread Paul Richard Thomas
Dear All, Please find attached the updated patch, which fixes the problem with -m32 in PR90022, eliminates the temporary creation for INTENT(IN) dummies and fixes PR89846. While it looks like it should be intrusive because of its size, I believe that the patch is still safe for trunk since it is

[PATCH, d] Do not add any target_libs dependencies if not using libphobos

2019-04-14 Thread Johannes Pfau
Even if we disable libphobos (as unsupported in libphobos/configure.tgt or using --disable-libphobos), config-lang.in still adds target-libbacktrace to the target_libs. This means target-zlib and target-libbacktrace still end up being configured. On some embedded toolchains, libbacktrace however

Re: [libphobos, build] Enable libphobos on Solaris 11/x86

2019-04-14 Thread Iain Buclaw
On Tue, 19 Feb 2019 at 13:58, Rainer Orth wrote: > > Hi Iain, > > >> Thanks. This will have to wait for > >> > >> [libphobos] Use sections_elf_shared.d on Solaris 11.5 (PR d/88150) > >> https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01661.html > > > > I'll make a fork of sections

New Swedish PO file for 'gcc' (version 9.1-b20190324)

2019-04-14 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the Swedish team of translators. The file is available at: https://translationproject.org/latest/gcc/sv.po (This file,

Re: [libphobos, build] Enable libphobos on Solaris 11/x86

2019-04-14 Thread Rainer Orth
Hi Iain, > On Tue, 29 Jan 2019 at 13:35, Rainer Orth > wrote: >> >> With the set of libphobos Solaris patches just posted, it would become >> possible to enable libphobos on Solaris 11/x86 by default. >> >> This is what this patch does. >> >> * It uses a LIBPHOBOS_SUPPORTED variable both in

Re: [libphobos] Work around lack of dlpi_tls_modid before Solaris 11.5

2019-04-14 Thread Rainer Orth
Hi Iain, > On Tue, 9 Apr 2019 at 21:27, Rainer Orth > wrote: >> >> Rainer Orth writes: >> >> > Before Solaris 11.5, struct dl_phdr_info lacked the dlpi_tls_modid >> > member. While the support might be backported to Solaris 11.4, it >> > certainly won't to previous Solaris releases. To work

Re: [libphobos] Use sections_elf_shared.d on Solaris 11.5 (PR d/88150)

2019-04-14 Thread Rainer Orth
Hi Iain, > On Tue, 29 Jan 2019 at 11:25, Rainer Orth > wrote: >> >> I've successfully been using a late prototype of an implementation of >> the dlpi_tls_modid field of struct dl_phdr_info on Solaris 11.5 Beta. >> This allowed me to get pretty reasonable test results using >>

Re: [PATCH v2, d] PR d/87799 Fix build on windows hosts

2019-04-14 Thread Johannes Pfau
Am 13.04.19 um 18:48 schrieb Iain Buclaw: On Mon, 25 Mar 2019 at 20:04, Johannes Pfau wrote: diff --git a/gcc/d/d-system.h b/gcc/d/d-system.h index efece15f3bc..6c18b69d4df 100644 --- a/gcc/d/d-system.h +++ b/gcc/d/d-system.h @@ -55,4 +55,10 @@ #undef tolower #define tolower(c) TOLOWER(c)

[PATCH] combine: Count auto_inc properly (PR89794)

2019-04-14 Thread Segher Boessenkool
The code that checks if an auto-increment from i0 or i1 is not lost is a bit shaky. The code to check the same for i2 is non-existent, and cannot be implemented in a similar way at all. So, this patch counts all auto-increments, and makes sure we end up with the same number as we started with.