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. >> >&g

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 >> > cer

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

Re: [RFC] D support for S/390

2019-04-11 Thread Rainer Orth
this->layout_field (build_integer_cst (flags)); + this->layout_field (build_integer_cst (flags, d_uint_type)); /* void *deallocator; OffsetTypeInfo[] m_offTi; (not implemented) Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [RFC] D support for S/390

2019-04-11 Thread Rainer Orth
Hi Iain, > @Rainer Orth any last requests before I commit the fix for PR > d/89255? That will make testing individual library modules easier I > guess. no, the patch is perfectly fine as is. Sorry for not following up earlier; I've now tested it successfully on Solaris 11.[345]/x

Re: [libphobos] Work around Solaris ld bug linking __tls_get_addr on 64-bit x86

2019-04-09 Thread Rainer Orth
Rainer Orth writes: > Here's the patch I mentioned in > > https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01661.html > > to work around an amd64 Solaris ld bug. I'm just posting it for > reference now: until it's clear if a fix will make it into Solaris 11.5 > or

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

2019-04-09 Thread Rainer Orth
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 around this, I've > used the following patch. Again, it's pretty str

Re: [RFC] D support for S/390

2019-04-03 Thread Rainer Orth
l got tons of execution failures with that augmented patch, but those seem down to just a few root causes. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH] correct maximum valid alignment in error message (PR 89812)

2019-03-31 Thread Rainer Orth
Hi Jeff, > On 3/26/19 4:49 PM, Rainer Orth wrote: >> Hi Jakub, >> >>> On Mon, Mar 25, 2019 at 11:41:35AM -0600, Jeff Law wrote: >>>>> PR c/89812 - incorrect maximum in error: requested alignment >>>>> ‘536870912’ exceeds maximum 214748364

Re: [PATCH] correct maximum valid alignment in error message (PR 89812)

2019-03-26 Thread Rainer Orth
to avr too. FWIW, adding *-*-solaris2.* to the target list lets the test also PASS on i386-pc-solaris2.11 and sparc-sun-solaris2.11 (32 and 64-bit each). Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [C++] compiler incompatibility with lambdas

2019-03-26 Thread Rainer Orth
he following patch allows for all three variants, only looking at the .group line with as since that's enough to check for different group names. Tested on i386-pc-solaris2.11 with gas and as and sparc-sun-solaris2.11. Ok for mainline? Rainer -- -

Re: [RFC] D support for S/390

2019-03-20 Thread Rainer Orth
ike S/390 and HP-PA it's a strict alignment target, so all execution tests fail due to PR d/88462... Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: Fix two ICEs with C++ destructors and LTO

2019-03-19 Thread Rainer Orth
-Wsuggest-final-methods] The same failure can be seen on Linux/x86_64 with -fno-use-linker-plugin. Rainer -- --------- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH, d/87824]: x86_64-linux multilib issues

2019-03-12 Thread Rainer Orth
for mainline? >> > > OK, thanks. I just noticed that the `set target' in gdc_include_flags is now unused and can be removed. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

[testsuite] Mark gdc.dg/pr89041.d as compile test

2019-03-10 Thread Rainer Orth
. Done as follows, tested on x86_64-pc-linux-gnu, installed on mainline. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University 2019-03-10 Rainer Orth * gdc.dg/pr89041.d: Mark

[testsuite, i386] Compile gcc.target/i386/indirect-thunk-extern-7.c with -fjump-tables

2019-03-10 Thread Rainer Orth
-- - Rainer Orth, Center for Biotechnology, Bielefeld University 2019-03-10 Rainer Orth * gcc.target/i386/indirect-thunk-extern-7.c: Add -fjump-tables to dg-options. # HG changeset patch # Parent c72e3e3359e351877a747a297aa96e221e490ac9 Compile

Re: [PATCH] Handle timeout warnings in dg-extract-results

2019-03-05 Thread Rainer Orth
imed out" message is for either the compilation timing out or exection timeouts. So the only messages that make sense would pertain to those, not stuff about other tests. I think those issues warrant persueing the alternative approach I've lined out above. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH] Handle timeout warnings in dg-extract-results

2019-03-05 Thread Rainer Orth
Hi Christophe, > On Tue, 19 Feb 2019 at 10:28, Christophe Lyon > wrote: >> >> On Mon, 18 Feb 2019 at 21:12, Rainer Orth >> wrote: >> > >> > Hi Christophe, >> > >> > > dg-extract-results currently moves lines like >> >

[libgo] Properly determine executable path on Solaris

2019-03-01 Thread Rainer Orth
t) without regressions, but fixing the os failure on sparcv9. I'm running Solaris 10 bootstraps right now for good measure, but don't expect any issues there. Rainer -- ----- Rainer Orth, Center for Biotechnology,

Re: libgo patch committed: Run examples

2019-02-28 Thread Rainer Orth
problem? it does indeed: just tested on i386-pc-solaris2.11 and sparc-sun-solaris2.11 without issues. Thanks. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

[libgo, testsuite] Skip runtime.TestG0StackOverflow on Solaris

2019-02-22 Thread Rainer Orth
) and --- FAIL: TestPanicInlined (0.00s) [...] crash_test.go:566: expecting stack trace to contain call to point.negate (sparc only). I haven't yet investigated those. Rainer -- - Rainer Orth, Center for Biotechnology

Re: Go patch committed: Harmonize types referenced by both C and Go

2019-02-19 Thread Rainer Orth
Hi Ian, > On Mon, Feb 18, 2019 at 2:48 AM Rainer Orth > wrote: >> >> > The code was already calling syscall, it was just doing it in a way >> > that the types didn't necessarily match the C declaration. This is >> > the implementation of Go's s

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

2019-02-19 Thread Rainer Orth
ext), I'll ask if they see a chance to have that bug fixed in time for the Solaris 11.5 release. If so, nobody besides myself will ever be exposed to this issue. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: Fix libphobos testsuite failures on Solaris

2019-02-19 Thread Rainer Orth
Hi Iain, > On Tue, 29 Jan 2019 at 15:44, Rainer Orth > wrote: >> >> Yet another trivial fix for a Solaris libphobos testsuite failure: >> >> FAIL: libphobos.shared/load.d -shared-libphobos -ldl (test for excess errors) >> Excess errors: >> /vol/

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

2019-02-19 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. >> >&g

Re: [build] Fix libgphobos linking on Solaris 11

2019-02-19 Thread Rainer Orth
Hi Iain, > On Tue, 27 Nov 2018 at 23:28, Rainer Orth > wrote: >> >> As mentioned in passing in PR d/87864, libgphobos.so currently fails to >> link before Solaris 11.4. Until then, you needed to link with -lsocket >> -lnsl for the networking functions, in S1

Re: [committed] Fix set_uids_in_ptset (PR middle-end/89303)

2019-02-18 Thread Rainer Orth
/var/tmp//ccB1o8Ya.o definition taken > > I suspect the class can just be renamed in pr89303.C to avoid the > conflict with include/bits/shared_ptr_base.h? the following patch does this. I've verified that it still FAILs on x86_64-pc-linux-gnu before your patch and PASSes a

Re: [PATCH] Handle timeout warnings in dg-extract-results

2019-02-18 Thread Rainer Orth
een undefined, now it is. I've verified this by removing the WARNING: lines from the two affected go.sum.sep files and now go.sum creation just works fine. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: Provide __start_minfo/__stop_minfo for linkers that don't (PR d/87864)

2019-02-18 Thread Rainer Orth
came up empty, there's no point in posting the actual patch. Bootstrapped without regressions on i386-pc-solaris2.11 and x86_64-pc-linux-gnu for good measure. Thanks. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: libgo patch committed: Run examples

2019-02-18 Thread Rainer Orth
Hi Andreas, > On Feb 18 2019, Rainer Orth wrote: > >> diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest >> --- a/libgo/testsuite/gotest >> +++ b/libgo/testsuite/gotest >> @@ -627,13 +627,13 @@ symtogo() { >>

Re: Go patch committed: Harmonize types referenced by both C and Go

2019-02-18 Thread Rainer Orth
Hi Ian, > On Fri, Feb 15, 2019 at 4:03 AM Rainer Orth > wrote: >> >> Andreas Schwab writes: >> >> > This breaks non-split-stack builds. >> > >> > ../../../libgo/runtime/stack.c: In function 'doscanstack1': >> > ../.

Re: libgo patch committed: Run examples

2019-02-18 Thread Rainer Orth
while autoconf defines an AS_ECHO macro, the underlying as_echo variable which could be substituted into gotest.in isn't documented. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University # HG changeset patch # Parent 944925b73419b1039

Re: Go patch committed: Harmonize types referenced by both C and Go

2019-02-15 Thread Rainer Orth
101 | return syscall (flag, a1, a2, a3, a4, a5, a6); | ^~~ This needs to include for the syscall declaration, apart from the fundamental problem that syscall isn't a stable interface on Solaris. Rainer -- ---

Re: [committed] Fix set_uids_in_ptset (PR middle-end/89303)

2019-02-14 Thread Rainer Orth
to avoid the conflict with include/bits/shared_ptr_base.h? Rainer -- --------- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: Provide __start_minfo/__stop_minfo for linkers that don't (PR d/87864)

2019-02-14 Thread Rainer Orth
Hi Iain, > On Tue, 29 Jan 2019 at 13:24, Rainer Orth > wrote: >> >> Solaris ld only gained support for section bracketing in Solaris 11.4. >> Fortunately, in gdc it is only used for the minfo section, so it's easy >> to provide a workaround by adding two additio

Re: [PATCH] Avoid assuming valid_constant_size_p argument is a constant expression (PR 89294)

2019-02-12 Thread Rainer Orth
gone. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Define __sparcv8 in 64-bit-default Solaris/SPARC gcc with -m32

2019-02-12 Thread Rainer Orth
f I'm missing something? Otherwise, I'm going to commit the patch (it's necessary to enable SANITIZER_CAN_FAST_UNWIND on Solaris/SPARC and make use of libsanitizer/sanitizer_common/sanitizer_stacktrace_sparc.cc). Rainer -- -----

[build] Restore .init_array etc. detection on 64-bit Solaris

2019-02-11 Thread Rainer Orth
, I've checked it in. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University 2019-02-10 Rainer Orth * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Use 8-byte strings with Sola

Re: [PATCH v2, i386]: Fix PR89221, --enable-frame-pointer does not work as intended

2019-02-11 Thread Rainer Orth
ped this exact version without regressions, so from a Solaris/x86 POV this is good to go. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

[testsuite, ada] Don't XPASS gnat.dg/lto19.adb

2019-02-08 Thread Rainer Orth
-- - Rainer Orth, Center for Biotechnology, Bielefeld University 2019-02-08 Rainer Orth * gnat.dg/lto19.adb: Remove dg-excess-errors. # HG changeset patch # Parent 8fbd3c9e3f106341e6b4070ccd57077b71274fb8 Don't XPASS gnat.dg/lto19.adb diff

Re: Xfail gfortran.dg/pr79966.f90

2019-02-07 Thread Rainer Orth
cc-testresults, the test currently fails everywhere (aarch64, arm*, hppa*, i?86, ia64, m68k, powerpc*, riscv64, sparc*, x86_64). Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [testsuite] Fix gcc.dg/debug/dwarf2/inline5.c with Solaris as (PR debug/87451)

2019-02-06 Thread Rainer Orth
Hi Richard, > On Fri, 4 Jan 2019, Rainer Orth wrote: > >> Hi Richard, >> >> >> On Thu, 3 Jan 2019, Rainer Orth wrote: >> >> >> >>> gcc.dg/debug/dwarf2/inline5.c currently FAILs with Solaris as (both >> >>> sparc and

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

2019-02-04 Thread Rainer Orth
s()).stack() () at /vol/gcc/src/hg/trunk/solaris/libphobos/testsuite/libphobos.shared/lib.d:33 #2 0xe8fe4b28 in ?? () [...] #63 0x00fe6ec9 in ?? () #64 0x in ?? () Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

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

2019-02-01 Thread Rainer Orth
LS range for the main executable, so isn't very useful AFAICS. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: Provide __start_minfo/__stop_minfo for linkers that don't (PR d/87864)

2019-02-01 Thread Rainer Orth
it's probably best to only think about renaming once section bracketing gets other uses. Rainer -- --------- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH, RFC] Avoid the -D option which is not available install-sh

2019-01-31 Thread Rainer Orth
rior mistake. > Is the patch OK for trunk as-is ? That's for Iain to decide. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH, RFC] Avoid the -D option which is not available install-sh

2019-01-31 Thread Rainer Orth
toconf 2.69, but only in git autoconf. Since there are no uses of it I could find, please do regenerate with autoconf 2.69 (preferably self-built since distros tend to include random patches which only confuse future developers). Rainer -- ----

Fix libphobos testsuite failures on Solaris

2019-01-29 Thread Rainer Orth
; I guess this is obvious? Tested on i386-pc-solaris2.11. Ok for mainline? Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University 2018-12-11 Rainer Orth * testsuite/libphobos.shared/load.

Fix gdc testsuite failures on Solaris

2019-01-29 Thread Rainer Orth
PASS for both the default and the 64-bit multilib. The same issue exists with multilib testing on Linux, btw. Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu. Ok for mainline? Rainer -- - Rainer Orth

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

2019-01-29 Thread Rainer Orth
of patches. Also tested manually that explicit --enable-libphobos/--disable-libphobos give the desired results (i.e. override the defaults). Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University 2019

Provide __start_minfo/__stop_minfo for linkers that don't (PR d/87864)

2019-01-29 Thread Rainer Orth
-- - Rainer Orth, Center for Biotechnology, Bielefeld University 2018-11-20 Rainer Orth libphobos: PR d/87864 * configure.ac [!DCFG_MINFO_BRACKETING] (DRTSTUFF_SPEC): New variable. Substitute

[libphobos] Work around lack of dlpi_tls_modid before Solaris 11.5

2019-01-29 Thread Rainer Orth
those lines could be acceptable at all. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University 2019-01-22 Rainer Orth * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro

[libphobos] Work around Solaris ld bug linking __tls_get_addr on 64-bit x86

2019-01-29 Thread Rainer Orth
comments are appreciated. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University 2019-01-28 Rainer Orth * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro. * configure.ac

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

2019-01-29 Thread Rainer Orth
-- - Rainer Orth, Center for Biotechnology, Bielefeld University 2018-11-21 Rainer Orth libphobos: PR d/88150 * libdruntime/core/sys/solaris/dlfcn.d: Mark @nogc. * libdruntime/core/sys/solaris/link.d (struct

[testsuite] Mark gdc.dg/pr89042?.d as compile tests

2019-01-29 Thread Rainer Orth
in a parallel make check, it can happen that dg-do-what-default is set to link or run from a previous test. Tested on i386-pc-solaris2.11, installed on mainline. Rainer -- - Rainer Orth, Center for Biotechnology

Re: PATCH: Updated error messages for ill-formed cases of array initialization by string literal

2019-01-18 Thread Rainer Orth
IL: gcc.dg/utf-array.c (test for errors, line 21) +FAIL: gcc.dg/utf-array.c (test for errors, line 33) I'm seeing it on i386-pc-solaris2.11 (32-bit only), and there are also gcc-testresults reports on i686-pc-linux-gnu, m68k-unknown-linux-gnu, and x86_64-pc-linux-gnu. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH] avoid issuing -Warray-bounds during folding (PR 88800)

2019-01-18 Thread Rainer Orth
or warnings, line 161) +XPASS: c-c++-common/Warray-bounds-3.c -Wc++-compat bug (test for warnings, line 161) which is also seen on ia64-suse-linux-gnu. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [v3 PATCH] Implement LWG 2221, No formatted output operator for nullptr

2019-01-11 Thread Rainer Orth
erated libstdc++.map-sun, not knowing the background here. > FWIW I did run my symbol checker script, but it gets lots of false > positives because it doesn't understand the #if preprocessor > conditions, so it sees lots of false positive duplicates. I need to > make it smarter for it to be useful here. Indeed: the variation possible here can be a total PITA ;-) Thanks. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [v3 PATCH] Implement LWG 2221, No formatted output operator for nullptr

2019-01-10 Thread Rainer Orth
tsIwEElsEDn; GLIBCXX_3.4.26 ##_ZNSt13basic_ostreamIwSt11char_traitsIwEElsEDn (glob) _ZNSt13basic_ostreamIwSt11char_traitsIwEElsEDn; ISTM that the patterns were backwards. The following patch fixes this and allowed i386-pc-solaris2.11 bootstrap to complete without regressions relative to th

Re: [PATCH] Export explicit instantiations for C++17 members of std::string

2019-01-08 Thread Rainer Orth
Hi Jonathan, > On 06/01/19 17:59 +0100, Rainer Orth wrote: >>Hi Jonathan, >> >>> The C++17 standard added some new members to std::basic_string, which >>> were not previously instantiated in the library. This meant that the >>> extern template decl

Re: [PATCH] Export explicit instantiations for C++17 members of std::string

2019-01-06 Thread Rainer Orth
EE17_S_to_string_viewESt17basic_string_viewIwS2_E; The following patch allowed the build to finish. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver --- a/libstdc++-v3/config/abi/pre

Re: [testsuite] Fix gcc.dg/debug/dwarf2/inline5.c with Solaris as (PR debug/87451)

2019-01-04 Thread Rainer Orth
Hi Richard, >> On Thu, 3 Jan 2019, Rainer Orth wrote: >> >>> gcc.dg/debug/dwarf2/inline5.c currently FAILs with Solaris as (both >>> sparc and x86): >>> >>> FAIL: gcc.dg/debug/dwarf2/inline5.c scan-assembler-not (DIE

Re: [testsuite] Fix gcc.dg/debug/dwarf2/inline5.c with Solaris as (PR debug/87451)

2019-01-03 Thread Rainer Orth
Hi Richard, > On Thu, 3 Jan 2019, Rainer Orth wrote: > >> gcc.dg/debug/dwarf2/inline5.c currently FAILs with Solaris as (both >> sparc and x86): >> >> FAIL: gcc.dg/debug/dwarf2/inline5.c scan-assembler-not (DIE >> (0x(

[testsuite] Fix gcc.dg/debug/dwarf2/inline5.c with Solaris as (PR debug/87451)

2019-01-03 Thread Rainer Orth
-- - Rainer Orth, Center for Biotechnology, Bielefeld University 2019-01-03 Rainer Orth PR debug/87451 * gcc.dg/debug/dwarf2/inline5.c: Allow for non-comment before "(DIE (0x[0-9a-f]*) DW_TAG_variable". Avoid multiline matches. # HG chang

[build] Update config.guess, config.sub (PR target/88535)

2019-01-03 Thread Rainer Orth
compiler. As expected, the only differences were the changed configure triplets in the 64-bit Solaris/SPARC case. Installed on mainline. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University 2019-01

Re: [PATCH] Don't run ident tests on powerpc-darwin

2019-01-02 Thread Rainer Orth
e were to be handled as well, I'd strongly prefer the effective-keyword variant rather than adding more and more targets to the individual tests. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH 4/4][libbacktrace] Add tests for unused formats

2019-01-02 Thread Rainer Orth
em with Solaris 10 /bin/sed. Unfortunately, libbacktrace is one of those libraries that don't produce Dejagnu-style .sum and .log files, so test failures are buried in the make check output and very easily overlooked. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH] Use proper location for tls_init function (PR c++/88263).

2019-01-02 Thread Rainer Orth
e long double log(long double __X) { return __logl(__X); } } } Fixed by renaming namespace log to logging to avoid the clash. Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11, and x86_64-pc-linux-gnu. Installed no mainline. Rainer -- --

Re: Fix devirtualiation in expanded thunks

2019-01-01 Thread Rainer Orth
vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/tree-prof/devirt.C:99:26: optimized: folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn8_N21mozPersonalDictionary6AddRefEv() > Is there a way to dump files for different patterns for 32bit or 64bit Why would we: many similar scans just use _ZThn\[0-9\]+ instead. > tarets? Or shall we simply disable this test for 32bit? That's counterproductive, I believe. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: Fix devirtualiation in expanded thunks

2019-01-01 Thread Rainer Orth
ing virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn16" 1 and the failure seems to occur on every 32-bit target. The log shows g++.dg/tree-prof/devirt.C: pattern found 0 times Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [testsuite] Include gdc.test prefix in test names (PR testsuite/88041)

2018-12-13 Thread Rainer Orth
) work just the same. So this will remain necessary even if you decide to split gdc-test.exp into three .exp files. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

[testsuite] Include gdc.test prefix in test names (PR testsuite/88041)

2018-12-13 Thread Rainer Orth
because those need to go upstream first. Bootstrapped without regressions on i386-pc-solaris2.11 and x86_64-pc-linux-gnu. Ok for mainline? Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH v3 09/10] Ignore LLVM's blank lines.

2018-12-12 Thread Rainer Orth
[check_no_compiler_messages supports_inf assembly { > const double pinf = __builtin_inf (); > }] > } Why those additional newlines? Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH] Make LTO tests that require recent binutils UNSUPPORTED with older ones (PR lto/86004)

2018-12-11 Thread Rainer Orth
Hi Jakub, > On Tue, Dec 11, 2018 at 08:52:12AM +0100, Rainer Orth wrote: >> Hi Jakub, >> >> > As mentioned in the PR, older binutils (like 2.25) complain on these tests >> > when using -r that: >> > plugin needed to handle lto object >> >

Re: [PATCH] Make LTO tests that require recent binutils UNSUPPORTED with older ones (PR lto/86004)

2018-12-10 Thread Rainer Orth
ild.texi. Thanks. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH] Fix *ivdep* tests on SPARC etc. (PR testsuite/88369, take 2)

2018-12-10 Thread Rainer Orth
uot; } */ >for (int i = 0; i < count; ++i) > dst[i] = op1[i] + op2[i]; > } this is wrong: either move the dg-prune-output before the first dg-optimized (preferably) or adjust the line number distances to account for the additional line. Ok with that fixed. Thanks. Rainer

Don't try to use libgcc-unwind.map with --disable-shared (PR bootstrap/65725)

2018-12-10 Thread Rainer Orth
on mainline. There were many unrelated issues, usually occuring on Linux as well as Solaris, for a --disable-shared configuration, which I'll either fix or report separately. Rainer -- - Rainer Orth, Center

Pass GDCFLAGS and CCASFLAGS to libphobos subdirs

2018-12-07 Thread Rainer Orth
, too. Tested on i386-pc-solaris2.11. Ok for mainline? Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University 2018-12-06 Rainer Orth * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS

Re: [PATCH][Version 3]Come up with -flive-patching master option.

2018-12-07 Thread Rainer Orth
tack-alignment-2.c scan-assembler sub.*%.sp Like ipa-stack-alignment.c, it needs -fomit-frame-pointer. Fixed as follows, tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu, 32 and 64-bit each. Installed on mainline. Rainer -- ---

Re: libgo patch committed: Add precise stack scan support

2018-12-07 Thread Rainer Orth
(for tgkill). It were probably better to use non-Linux specific names here... Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University # HG changeset patch # Parent 2c9abfeb2f017f5c48ccdee7ce72d72bcffb9250

Re: [PATCH] be more permissive about function alignments (PR 88208)

2018-12-05 Thread Rainer Orth
through the variations (hopefully with appropriate comments where non-obvious) in a single file rather than looking at many almost identical files in gcc.target. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH] dumpfile.c: use prefixes other that 'note: ' for MSG_{OPTIMIZED_LOCATIONS|MISSED_OPTIMIZATION}

2018-12-05 Thread Rainer Orth
Rainer Orth writes: > Hi Andreas, > >> On Okt 01 2018, David Malcolm wrote: >> >>> Is there a link to the .log files somewhere so I can see the precise >>> messages in question? (e.g. are they all "loop versioned for >>> vectorization to enha

Re: [SPARC] Fix PR target/87807

2018-12-05 Thread Rainer Orth
rget/sparc/20181129-2.c:17:3: error: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] The following patch fixes this by building as C99. Alternatively, it would work just as well to split the x declaration and initialization. Tested on sparc-sun-solaris2.11. Ok for mainl

Re: [PATCH] be more permissive about function alignments (PR 88208)

2018-12-05 Thread Rainer Orth
) is 16 for sparcv9. The following patch fixes this, tested on sparc-sun-solaris2.11 with -m32 and -m64. Ok for mainline? Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University 2018-12-04 Rainer Orth PR testsuite/88208 * gcc.target/sparc/attr-aligned.c (MA

Re: [testsuite] Require ucn support in gdc.test/compilable/ddoc12.d (PR d/88039)

2018-12-04 Thread Rainer Orth
Hi Iain, > On Sat, 1 Dec 2018 at 19:28, Iain Buclaw wrote: >> >> On Thu, 29 Nov 2018 at 15:12, Rainer Orth >> wrote: >> > >> > Hi Iain, >> > >> > > On Tue, 27 Nov 2018 at 20:32, Rainer Orth >> > > wrote: >> &g

Re: [testsuite] Require ucn support in gdc.test/compilable/ddoc12.d (PR d/88039)

2018-11-29 Thread Rainer Orth
Hi Iain, > On Tue, 27 Nov 2018 at 20:32, Rainer Orth > wrote: >> >> Hi Mike, >> >> > On Nov 27, 2018, at 2:18 AM, Rainer Orth >> > wrote: >> >> >> >> Some assemblers, including the Solaris one, don't support UTF-8 >>

Re: [PATCH] detect missing nuls in address of const char (PR 87756)

2018-11-28 Thread Rainer Orth
Rainer Orth writes: > Hi Martin, > >> On 11/26/18 10:52 AM, Rainer Orth wrote: >>> Hi Martin, >>> >>>> I have now committed this patch as r266418. >>> >>> this patch has created a bunch of XPASSes everywhere: >>> >>> +

Re: [PATCH] detect missing nuls in address of const char (PR 87756)

2018-11-28 Thread Rainer Orth
Hi Martin, > On 11/26/18 10:52 AM, Rainer Orth wrote: >> Hi Martin, >> >>> I have now committed this patch as r266418. >> >> this patch has created a bunch of XPASSes everywhere: >> >> +XPASS: gcc.dg/tree-ssa/builtin-fprintf-warn-1.c pr87756 (test f

[build] Fix libgphobos linking on Solaris 11

2018-11-27 Thread Rainer Orth
for mainline? Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University 2018-11-25 Rainer Orth * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro. * configure.ac

Re: [testsuite] Require ucn support in gdc.test/compilable/ddoc12.d (PR d/88039)

2018-11-27 Thread Rainer Orth
Hi Mike, > On Nov 27, 2018, at 2:18 AM, Rainer Orth > wrote: >> >> Some assemblers, including the Solaris one, don't support UTF-8 >> identifiers, which breaks the gdc.test/compilable/ddoc12.d testcase as >> reported in the PR. > > So, another style of fix,

[testsuite] Require ucn support in gdc.test/compilable/ddoc12.d (PR d/88039)

2018-11-27 Thread Rainer Orth
-- - Rainer Orth, Center for Biotechnology, Bielefeld University 2018-11-25 Rainer Orth PR d/88039 * gdc.test/gdc-test.exp (dmd2dg): Require ucn support for tests using UCNs in identifiers. # HG changeset patch # Parent

Re: [PATCH] detect missing nuls in address of const char (PR 87756)

2018-11-26 Thread Rainer Orth
ner -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

[testsuite] Disable gdc execution tests without libphobos

2018-11-25 Thread Rainer Orth
-- - Rainer Orth, Center for Biotechnology, Bielefeld University 2018-11-08 Rainer Orth gcc/testsuite: * lib/target-supports.exp (check_compile): Handle D. (check_effective_target_d_runtime): New proc. * lib/gdc-dg.exp (gdc-dg-test): Demote link and run tests

Re: [PATCH] add simple attribute introspection

2018-11-25 Thread Rainer Orth
one for the rest, guarded by dg-require-effective-target init_priority. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH] add simple attribute introspection

2018-11-22 Thread Rainer Orth
3.c:59:3: error: > size of array 'Assert' is negative > > on arm only: > gcc.dg/builtin-has-attribute.c (test for excess errors) > gdb.log says: > Excess errors: > /gcc/testsuite/gcc.dg/builtin-has-attribute.c:12:15: error: size of > array 'Assert' is negative I'm seeing the

Re: [PATCH 1/7][v2][MSP430][TESTSUITE] Tweak dg-directives for msp430-elf

2018-11-21 Thread Rainer Orth
gcc/doc/sourcebuild.texi. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH] handle unusual targets in -Wbuiltin-declaration-mismatch (PR 88098)

2018-11-21 Thread Rainer Orth
to be part of the patch? It's in the ChangeLog, but missing from the revised patch. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Handle libphobos in contrib/gcc_update

2018-11-14 Thread Rainer Orth
I noticed that libphobos isn't currently handled in gcc_update. The following patch fixes this. I guess this is close to obvious? Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University 2018

Re: [committed 0/4] (Partial) OpenMP 5.0 support for GCC 9

2018-11-08 Thread Rainer Orth
: thread_limit; | ^~~~ The patch below fixes this and allows the build to continue on i386-pc-solaris2.1[01] and sparc-sun-solaris2.11. Also built on x86_64-pc-linux-gnu. I guess this is obvious? Rainer -- --

Re: [PATCH] Fix PR87906

2018-11-08 Thread Rainer Orth
Argh. Works for me. here's what I've installed after testing on i386-pc-solaris2.11. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University 2018-11-08 Rainer Orth * g++.dg/lto/pr87906_0.C: Use moon instead of possi

<    1   2   3   4   5   6   7   8   9   10   >