Re: [PATCH] Fixes to must-tail-call tests

2016-05-25 Thread Rainer Orth
e call into a sibling call Rainer -- --------- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: PATCH: PR target/70738: Add -mgeneral-regs-only option

2016-05-20 Thread Rainer Orth
In file included from ./tm.h:16:0, from /vol/gcc/src/hg/trunk/local/gcc/genattrtab.c:108: ./options.h:5443:2: error: #error too many target masks #error too many target masks ^ Makefile:2497: recipe for target 'build/genattrtab.o' failed make[3]: *** [build/genattrtab.o] Error 1 options.h has #define OPTION_MASK_ISA_XSAVES (HOST_WIDE_INT_1 << 62) #error too many target masks The tree bootstraps just fine at the previous revision. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

[i386] Fix SEGV in ix86_in_large_data_p (PR target/71080)

2016-05-13 Thread Rainer Orth
on x86_64-pc-linux-gnu, followed by an additional testsuite run with -mcmodel=medium. The only changes present are those reported in PR target/71097, and I've verified that they also exist on the gcc-6 branch, i.e. without my patch. Ok for mainline? Rainer 2016-05-12 Rainer Orth &l

Re: Error out on -fvtable-verify without --enable-vtable-verify

2016-05-09 Thread Rainer Orth
Hi Bernd, > On 05/08/2016 12:44 PM, Rainer Orth wrote: >> With the recent change not to install libvtv without >> --enable-vtable-verify, I noticed that gcc/g++ would still accept >> -fvtable-verify without errors, only to emit obscure link-time errors >> about missing

Error out on -fvtable-verify without --enable-vtable-verify

2016-05-08 Thread Rainer Orth
-verfy=(none|std|preinit]. Ok for mainline? Rainer 2016-05-04 Rainer Orth <r...@cebitec.uni-bielefeld.de> * configure.ac (enable_vtable_verify): Handle --enable-vtable-verify. * configure: Regenerate. * config.in: Regenerate. *

[v3] Enable dg-reqire-sharedlib on Solaris

2016-05-05 Thread Rainer Orth
I happened to notice that dg-require-sharedlib hardcodes the targets that shared library, and Solaris is missing. Fixed with the following patch. Bootstrapped on i386-pc-solaris2.12, the affected testcases now PASS. Ok for mainline? Rainer 2016-05-04 Rainer Orth <r...@cebitec.

Re: Inline across -ffast-math boundary

2016-05-05 Thread Rainer Orth
under __EXTENSIONS__ && !_XOPEN_SOURCE. The function is not in C99 or XPG7, and instead of trying to do the equivalent of AC_USE_SYSTEM_EXTENSIONS, I've followed the lead of gcc.target/arm/pr59896.c and just declare it in the testcase. Tested with the appropriate runtest invocations on i386

Re: Improve pure/const propagation across interposable function with non-interposable aliases

2016-05-05 Thread Rainer Orth
e appropriate runtest invocation on i386-pc-solaris2.12. I guess this is obvious? Rainer 2016-05-05 Rainer Orth <r...@cebitec.uni-bielefeld.de> * gcc.dg/ipa/pure-const-3.c: Scan local-pure-const1 dump. # HG changeset patch # Parent d39b4a1eb735ab8dd6f6029ab882650de945

Re: Allow redefinition of libcilkrts debug macros

2016-05-03 Thread Rainer Orth
It is mentioned under the "CONTRIBUTIONS" sections in the > libcilkrts/README file :). Sort of: it doesn't (and most likely shouldn't ) say anything about if/when patches can first/exclusively go into the gcc tree. Rainer -- ---

Re: Allow redefinition of libcilkrts debug macros

2016-05-03 Thread Rainer Orth
Hi Ilya, > On Fri, Apr 29, 2016 at 10:58:25 +0200, Rainer Orth wrote: >> > On 04/26/2016 08:04 AM, Rainer Orth wrote: >> >> When working on a couple of Cilk Plus issues lately (PRs target/60290, >> >> target/68945), I noticed that you have to modify the libcilk

[libvtv, build] Don't install libvtv without --enable-vtable-verify

2016-05-02 Thread Rainer Orth
that in this situation libvtv is useless anyway (the vtv_*.o files in libgcc aren't built either), I've chosen to avoid the installation completely. Tested on i386-pc-solaris2.11 without and with --enable-vtable-verify. Ok for mainline and gcc-6 branch? Thanks. Rainer 2016-04-29 Rainer Orth &l

[ada, build] Fix make install-gcc-specs with empty GCC_SPEC_FILES

2016-05-02 Thread Rainer Orth
and the gcc-6 and gcc-5 branches? Rainer 2016-04-29 Rainer Orth <r...@cebitec.uni-bielefeld.de> * gcc-interface/Makefile.in (install-gcc-specs): Use foreach. Honor DESTDIR. # HG changeset patch # Parent 6a07b8a8ce8b870d4cf37ebbcac7d7965340d4d6 Fix make install-gcc

Re: [PATCH] Clean up tests where a later dg-do completely overrides another.

2016-04-29 Thread Rainer Orth
an execute test. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: Cilk Plus testsuite needs massive cleanup (PR testsuite/70595)

2016-04-29 Thread Rainer Orth
out the breakage. Rainer 2016-04-29 Rainer Orth <r...@cebitec.uni-bielefeld.de> * config/darwin.h (LINK_COMMAND_SPEC_A): Handle -fcilkplus. # HG changeset patch # Parent 297a270669c098610ed0f7333b9a11ab4d3ef2bd Handle -fcilkplus in Mac OS X LINK_COMMAND_SPEC diff --git

Re: Allow redefinition of libcilkrts debug macros

2016-04-29 Thread Rainer Orth
Hi Ilya, >> >> 2016-04-07 Rainer Orth <r...@cebitec.uni-bielefeld.de> >> >> >> >> * runtime/except-gcc.cpp (DEBUG_EXCEPTIONS): Allow redefinition. >> >> * runtime/cilk_fiber.h (FIBER_DEBUG): Likewise. >> >> * runtime/

Re: Allow redefinition of libcilkrts debug macros

2016-04-29 Thread Rainer Orth
Hi Jeff, > On 04/26/2016 08:04 AM, Rainer Orth wrote: >> When working on a couple of Cilk Plus issues lately (PRs target/60290, >> target/68945), I noticed that you have to modify the libcilkplus sources >> to enable various debugging output. This seems silly, and the foll

Re: [RFC] Update gmp/mpfr/mpc minimum versions

2016-04-29 Thread Rainer Orth
never cared about (or even got the point of) in-tree builds of this stuff. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [patch] Don't encode the minor version in the gcj abi version

2016-04-28 Thread Rainer Orth
Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > Matthias Klose <d...@ubuntu.com> writes: > >> Bumping the version from from 6.0.0 to 6.1.0 broke gcj, because the minor >> version is still encoded in the gcj abi, not seen during development of the &

Re: [patch] Don't encode the minor version in the gcj abi version

2016-04-28 Thread Rainer Orth
Rainer -- --------- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [RFC] Update gmp/mpfr/mpc minimum versions

2016-04-27 Thread Rainer Orth
.0.0, mpfr 3.1.1, mpc 0.9) also work on the active release branches (gcc-5 and gcc-6, gcc-4.9 is on it's way out)? Having to install two different sets of the libraries for trunk and branch work would be extremely tedious. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Cilk Plus testsuite needs massive cleanup (PR testsuite/70595)

2016-04-27 Thread Rainer Orth
. Will commit to mainline in a day or two, giving interested parties an opportunity to comment. Rainer 2016-04-05 Rainer Orth <r...@cebitec.uni-bielefeld.de> gcc: PR testsuite/70595 * doc/sourcebuild.texi (Effective-Target Keywords, Other attributes): Do

Allow redefinition of libcilkrts debug macros

2016-04-26 Thread Rainer Orth
and sparc-sun-solaris2.12. Ok for mainline? Rainer 2016-04-07 Rainer Orth <r...@cebitec.uni-bielefeld.de> * runtime/except-gcc.cpp (DEBUG_EXCEPTIONS): Allow redefinition. * runtime/cilk_fiber.h (FIBER_DEBUG): Likewise. * runtime/scheduler.h (REDPAR

Unreviewed^2 patches

2016-04-26 Thread Rainer Orth
/61821) https://gcc.gnu.org/ml/gcc-patches/2016-03/msg01059.html Both contain x86-specific parts; the first one also needs a middle-end reviewer for the varasm.c changes. Thanks. Rainer -- - Rainer Orth

Re: Compile libcilkrts with -funwind-tables (PR target/60290)

2016-04-26 Thread Rainer Orth
Hi Jeff, > On 04/06/2016 05:12 AM, Rainer Orth wrote: >> I've finally gotten around to analyzing this testsuite failure on 32-bit >> Solaris/x86: >> >> FAIL: g++.dg/cilk-plus/CK/catch_exc.cc -O1 -fcilkplus execution test >> FAIL: g++.dg/cilk-plus/CK/catch_exc.

Re: [wwwdocs] Document GCC 6 Solaris changes

2016-04-19 Thread Rainer Orth
Hi Gerald, > On Mon, 18 Apr 2016, Rainer Orth wrote: >> While updating docs for Solaris, here's a Solaris section for >> gcc-6/changes.html. Ok? > > Looks good to me, thanks. thanks, installed. Btw., I noticed that the subsections of `Operating Systems' are in ran

[wwwdocs] Document GCC 6 Solaris changes

2016-04-18 Thread Rainer Orth
While updating docs for Solaris, here's a Solaris section for gcc-6/changes.html. Ok? Rainer 2016-04-18 Rainer Orth <r...@cebitec.uni-bielefeld.de> * htdocs/gcc-6/changes.html (Solaris): New section. Index: htdocs/gcc-6/change

[doc] Update install.texi for GCC 6 on Solaris

2016-04-18 Thread Rainer Orth
with make doc/gccinstall.{info,dvi,pdf} html. Will apply to mainline soon. Ok for the gcc-6 branch? Thanks. Rainer 2016-04-16 Rainer Orth <r...@cebitec.uni-bielefeld.de> * doc/install.texi (Specific, i?86-*-solaris2.10): Update gas and gld requirements. (Sp

Re: [i386] Support .lbss etc. sections with Solaris as (PR target/59407)

2016-04-18 Thread Rainer Orth
Uros Bizjak <ubiz...@gmail.com> writes: > On Thu, Mar 17, 2016 at 11:40 PM, Rainer Orth > <r...@cebitec.uni-bielefeld.de> wrote: >> gcc.target/i386/pr58218.c currently FAILs on 64-bit Solaris/x86 with the >> native assembler: >> >> FAIL: gcc.tar

Unreviewed^2 patches

2016-04-13 Thread Rainer Orth
-tables (PR target/60290) https://gcc.gnu.org/ml/gcc-patches/2016-04/msg00292.html Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Compile libcilkrts with -funwind-tables (PR target/60290)

2016-04-06 Thread Rainer Orth
ranches. Thoughts? Rainer 2016-04-04 Rainer Orth <r...@cebitec.uni-bielefeld.de> PR target/60290 * Makefile.am (GENERAL_FLAGS): Add -funwind-tables. * Makefile.in: Regenerate. # HG changeset patch # Parent 5ffdfe8da23c38390b9520b92cb76f53dfc3da0b Compile libcilkrts

Unreviewed patch

2016-04-06 Thread Rainer Orth
changes to a testcase without approval from the subject-matter expert. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH] Fix PR c++/70096 (wrong code for pointer-to-member-function copy)

2016-03-31 Thread Rainer Orth
nd x86_64-pc-linux-gnu, installed on mainline. Rainer 2016-03-31 Rainer Orth <r...@cebitec.uni-bielefeld.de> * g++.dg/template/ptrmem30.C (read): Rename to data_read. (Holder::foo): Reflect this. # HG changeset patch # Parent fb299874d0c97ca07d2d329ba94ff195243f

[testsuite, sparcv9] Fix gcc.dg/ifcvt-4.c on 64-bit SPARC (PR rtl-optimization/68749)

2016-03-30 Thread Rainer Orth
ner 2016-03-29 Rainer Orth <r...@cebitec.uni-bielefeld.de> PR rtl-optimization/68749 * gcc.dg/ifcvt-4.c: Use "word_mode" rather than "int" to limit the effects of argument promotions. Remove default args to dg-ski

[testsuite, i386] Fix gcc.target/i386/avx-vextractf128-256-5.c with Solaris as (PR testsuite/70356)

2016-03-30 Thread Rainer Orth
! ia32 } } } */ /* { dg-options "-O2 -mavx512f" } */ #include -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH, CHKP, Solaris, PR target/69917, committed] Respect transparent alias chains of assembler names

2016-03-30 Thread Rainer Orth
Hi Ilya, > This patch fixes gcc.target/i386/chkp-hidden-def.c test failure > on Solaris. Failure happens because some Solaris emit code > ignores transparent alias chains for assembler names. The patch > was tested and approved by Rainer Orth (see [1] for more details). > A

[testsuite, sparc, gcc-5] Skip gcc.target/sparc/20151219-1.c in 64-bit mode

2016-03-23 Thread Rainer Orth
on sparc-sun-solaris2.12, installed on the gcc-5 branch. Rainer 2016-03-23 Rainer Orth <r...@cebitec.uni-bielefeld.de> gcc/testsuite: Backport from mainline 2016-01-06 Eric Botcazou <ebotca...@adacore.com> * gcc.target/sparc/20151219-1.c

Re: [i386] Support .lbss etc. sections with Solaris as (PR target/59407)

2016-03-21 Thread Rainer Orth
Uros Bizjak <ubiz...@gmail.com> writes: > On Thu, Mar 17, 2016 at 11:40 PM, Rainer Orth > <r...@cebitec.uni-bielefeld.de> wrote: >> gcc.target/i386/pr58218.c currently FAILs on 64-bit Solaris/x86 with the >> native assembler: >> >> FAIL: gcc.tar

Re: [Patch, testsuite] Skip testcase for avr

2016-03-20 Thread Rainer Orth
+1,5 @@ > +/* { dg-skip-if "Array too big" { "avr-*-*" } { "*" } { "" } } */ just one nit: please omit the default args to dg-skip-if, they are unnecessary. Thanks. Rainer -- -----

Re: [PATCH] PR testsuite/70150: Check non-pic/ia32 in stackprotectexplicit2.C

2016-03-19 Thread Rainer Orth
66400 (and a bunch of others for several related issues) which I'd filed on your request when working on Solaris PIE support. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

[i386] Support .lbss etc. sections with Solaris as (PR target/59407)

2016-03-19 Thread Rainer Orth
x86_64-pc-linux-gnu. This is not a regression, so this may have to wait for GCC 7 stage 1. Ok for mainline now or then? Thanks. Rainer 2016-03-15 Rainer Orth <r...@cebitec.uni-bielefeld.de> PR target/59407 * config/i386/i386.c (SECTION_LARGE): Define. (x86_64_elf_select_

[i386] Support .largecomm with Solaris as (PR target/61821)

2016-03-18 Thread Rainer Orth
org/ml/gcc-patches/2016-03/msg01056.html Bootstrapped without regressions on i386-pc-solaris2.12 (with as and gas) and x86_64-pc-linux-gnu. Ok for mainline now or after gcc 6 branches? Thanks. Rainer 2016-03-15 Rainer Orth <r...@cebitec.uni-bielefeld.de> PR target/61821

Save call-clobbered registers in _mcount on 32-bit Solaris/x86 (PR target/38239)

2016-03-15 Thread Rainer Orth
regression that makes -pg profiling unusable/unreliable. Rainer 2016-03-11 Rainer Orth <r...@cebitec.uni-bielefeld.de> PR target/38239 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore call-clobbered registers. (internal_mcount): Remove __

Re: [Patch testsuite] Change xfail conditions for bb-slp-34.c

2016-03-09 Thread Rainer Orth
originally > trying to write. Sorry for the sparc (and presumably other > vect_int && !vect_perm targets) break. no worries, and thanks for the confirmation. I know this effective-target keyword business can be hard to get right ;-( I've now installed the patch. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [Patch testsuite] Change xfail conditions for bb-slp-34.c

2016-03-09 Thread Rainer Orth
tree-dump wasn't run due to missing vect_perm support, it now fails. I believe you meant to just not xfail the test on aarch64* and arm*, which is what the following patch does. James, could you please test it? Thanks. Rainer 2016-03-09 Rainer Orth <r...@cebitec.uni-bielefeld.de&

Only assume 4-byte stack alignment on 32-bit Solaris/x86 (PR target/62281)

2016-03-07 Thread Rainer Orth
. Given that this is a wrong-code bug, I'm going to apply it to the gcc-5 and gcc-4.9 branches within a week. Rainer 2016-02-29 Rainer Orth <r...@cebitec.uni-bielefeld.de> PR target/62281 * config/i386/sol2.h (STACK_REALIGN_DEFAULT): Define. # HG changeset patch #

Re: [committed] Fix libffi/70024

2016-03-03 Thread Rainer Orth
aris2.12, installed on mainline. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University 2016-03-03 Rainer Orth <r...@cebitec.uni-bielefeld.de> * Makefile.am (libffi.map-sun): Properly convert $(lib

Re: [committed] Fix libffi/70024

2016-03-03 Thread Rainer Orth
roke Solaris bootstrap: make[2]: Entering directory '/var/gcc/regression/trunk/12-gcc/build/i386-pc-solaris2.12/libffi' Makefile:1906: *** missing separator (did you mean TAB instead of 8 spaces?). Stop. Fixed as obvious like this, will commit shortly: 2016-03-03 Rainer Orth <r...@cebitec.u

Re: [testsuite] Invoke gdb with -batch to avoid prompts

2016-03-03 Thread Rainer Orth
Mike Stump <mikest...@comcast.net> writes: > On Mar 1, 2016, at 6:20 AM, Rainer Orth <r...@cebitec.uni-bielefeld.de> wrote: >> When switching from gdb 7.10 to the newly released gdb 7.11 on Solaris, >> all simulate-thread tests started to timeout > > Ok. If a

[testsuite] Invoke gdb with -batch to avoid prompts

2016-03-01 Thread Rainer Orth
-29 Rainer Orth <r...@cebitec.uni-bielefeld.de> * lib/gcc-gdb-test.exp (gdb-test): Make log message match command. Invoke gdb with -batch. * lib/gcc-simulate-thread.exp (simulate-thread): Likewise. # HG changeset patch # Parent b8273f68b9015179dc5b11f384d55efd5b4130

[testsuite, c++] Require init_priority support for g++.dg/ext/attr-constructor1.C

2016-02-25 Thread Rainer Orth
-solaris2.11 (which lacks constructor priority support), i386-pc-solaris2.12 (which has it) and x86_64-pc-linux-gnu, installed on mainline. Rainer 2016-02-25 Rainer Orth <r...@cebitec.uni-bielefeld.de> * g++.dg/ext/attr-constructor1.C: Require init_priority support. # HG changeset

[testsuite] Adapt gcc.dg/debug/dwarf2/prod-options.c for Solaris assembler

2016-02-24 Thread Rainer Orth
he following patch allows for those variations, tested with the appropriate runtest invocations on i386-pc-solaris2.12, sparc-sun-solaris2.12, and x86_64-pc-linux-gnu, installed on mainline. Rainer 2016-02-24 Rainer Orth <r...@cebitec.uni-bielefeld.de> * gcc.dg/d

[testsuite, i386] Require alias support in gcc.target/i386/chkp-hidden-def.c

2016-02-23 Thread Rainer Orth
on mainline. Could be installed on the gcc-5 branch, too, where the same problem exists, but I don't test that branch on Darwin. Rainer 2016-02-22 Rainer Orth <r...@cebitec.uni-bielefeld.de> * gcc.target/i386/chkp-hidden-def.c: Require alias support. # HG changeset

[v3, 4.9] Handle C++11 overloads on Solaris 11, 12

2016-02-22 Thread Rainer Orth
to backport the patch to the 4.9 branch, too. The version applied to the gcc-5 branch required a minimal change to the testcase only. Bootstrapped on i386-pc-solaris2.11, ok for 4.9 branch? Rainer 2016-02-21 Rainer Orth <r...@cebitec.uni-bielefeld.de> Backport from ma

Re: C++ PATCH for c++/69657 (abs not inlined)

2016-02-09 Thread Rainer Orth
ned int size_t; namespace std { extern void *calloc(size_t, size_t); } using std::calloc; int main () { char *(*pfn) = (char *(*)) calloc ; return 0; } Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: RFA: PR 68913: Provide weak version of __fread_chk for PR61886 test

2016-01-07 Thread Rainer Orth
PR testsuite/68913: output is: Undefined first referenced symbol in file __fread_chk c_lto_pr61886_0.o ld: fatal: symbol referencing errors collect2: error: ld returned 1 exit status Rainer -- -

Re: mark test requiring pthreads

2015-12-18 Thread Rainer Orth
Hi Nathan, > On 12/18/15 09:36, Rainer Orth wrote: >> Hi Nathan, >> >>> c-c++-common/attr-simd-3.c's use of -fcilkplus means it requires pthreads. >> >> why would this matter for a compile test? What happens without? > > Executing on host: nvptx-none

Re: mark test requiring pthreads

2015-12-18 Thread Rainer Orth
are compile only... Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: mark test requiring pthreads

2015-12-18 Thread Rainer Orth
Hi Nathan, > c-c++-common/attr-simd-3.c's use of -fcilkplus means it requires pthreads. why would this matter for a compile test? What happens without? Rainer -- ----- Rainer Orth, Center for Biotechnol

Re: [build] Only support -gstabs on Mac OS X if assember supports it (PR target/67973)

2015-12-16 Thread Rainer Orth
Mike Stump <mikest...@comcast.net> writes: > On Dec 15, 2015, at 5:35 AM, Rainer Orth <r...@cebitec.uni-bielefeld.de> > wrote: >> Right: I'm effectively keeping just the first configure test for .stabs >> support in the assembler to enable or disable >> DBX_

Re: [build] Only support -gstabs on Mac OS X if assember supports it (PR target/67973)

2015-12-15 Thread Rainer Orth
Mike Stump <mikest...@comcast.net> writes: > On Dec 14, 2015, at 2:40 AM, Rainer Orth <r...@cebitec.uni-bielefeld.de> > wrote: >> As described in PR PR target/67973, newer assemblers on Mac OS X, which >> are based on LLVM instead of gas, don't support .

Re: [build] Only support -gstabs on Mac OS X if assember supports it (PR target/67973)

2015-12-14 Thread Rainer Orth
with me, it's certainly the safest approach. I'll update the patch accordingly. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [build] Only support -gstabs on Mac OS X if assember supports it (PR target/67973)

2015-12-14 Thread Rainer Orth
Hi Iain, >> On 14 Dec 2015, at 11:13, Rainer Orth <r...@cebitec.uni-bielefeld.de> wrote: >> >>>> However, I'm not really comfortable with this solution. Initially, I >>>> forgot to wrap the -Q option to as in %{gstabs*:...}, which lead to a >&

[build] Only support -gstabs on Mac OS X if assember supports it (PR target/67973)

2015-12-14 Thread Rainer Orth
this, I'd rather have us not support stabs at all than via this half-hearted approach. What do you think? Rainer 2015-12-11 Rainer Orth <r...@cebitec.uni-bielefeld.de> PR target/67973 * configure.ac (gcc_cv_as_stabs_directive): Ne

Re: [build] Only support -gstabs on Mac OS X if assember supports it (PR target/67973)

2015-12-14 Thread Rainer Orth
nd you get the same result as if configuring with a copy of the Xcode 6.4 as. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: Port libvtv to Solaris

2015-11-25 Thread Rainer Orth
Jeff Law <l...@redhat.com> writes: >> 2015-08-20 Rainer Orth<r...@cebitec.uni-bielefeld.de> >> >> libstdc++-v3: >> * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY) <solaris2*>: Use >> -Wl,-R in VTV_CXXLINKFLAGS. >> * co

Re: Port libvtv to Solaris

2015-11-25 Thread Rainer Orth
onfig.h. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: Port libvtv to Solaris

2015-11-24 Thread Rainer Orth
Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > Now that init priority support on Solaris is on mainline, porting libvtv > proved to be relatively easy, though it discovered a couple of quirks on > a non-gld non-x86 platform. This patch has now remained unreviewed for a w

Unreviewed libstdc++ patch

2015-11-24 Thread Rainer Orth
. With the GCC 5.3 release imminent, it would be a pity to release without this patch, S12 bootstrap broken and all the effort that went into supporting S12 wasted. Thanks. Rainer -- - Rainer Orth, Center for Biotechnology

Re: [v3] Handle C++11 overloads on Solaris 12

2015-11-24 Thread Rainer Orth
Jonathan Wakely <jwak...@redhat.com> writes: > On 17/11/15 13:33 +0100, Rainer Orth wrote: >>Solaris 12 recently introduced the C++11 overloads, which >>caused bootstrap to be broken on both mainline and the gcc-5 branch: >> >>In file included from >>/

Re: [v3] Handle C++11 overloads on Solaris 12

2015-11-24 Thread Rainer Orth
Jonathan Wakely <jwak...@redhat.com> writes: > On 24/11/15 13:32 +0100, Rainer Orth wrote: >>Jonathan Wakely <jwak...@redhat.com> writes: >> >>> On 17/11/15 13:33 +0100, Rainer Orth wrote: >>>>Solaris 12 recently introduced the C++11 overloads,

[v3] Handle C++11 overloads on Solaris 12

2015-11-17 Thread Rainer Orth
in c99_classification_macros_c.cc to *-*-solaris2.1[01]* since the branch still defaults to -std=gnu++98). Rainer 2015-11-09 Rainer Orth <r...@cebitec.uni-bielefeld.de> libstdc++-v3: * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): New test. * configure.a

Port libvtv to Solaris

2015-11-17 Thread Rainer Orth
stage1, maybe the fact that this patch is for an off-by-default feature and well localized still could allow it into mainline at this point? Thanks. Rainer 2015-08-20 Rainer Orth <r...@cebitec.uni-bielefeld.de> libstdc++-v3: * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_

Re: libgo patch committed: Update to Go 1.5 release

2015-11-11 Thread Rainer Orth
Ian Lance Taylor <i...@golang.org> writes: > On Sun, Nov 8, 2015 at 9:21 AM, Rainer Orth <r...@cebitec.uni-bielefeld.de> > wrote: >> >> There were two remaining problems: >> >> * Before Solaris 12, sendfile only lives in libsendfile. This lead to >

Re: Unreviewed patch

2015-11-09 Thread Rainer Orth
Jeff Law <l...@redhat.com> writes: > On 11/06/2015 06:29 AM, Rainer Orth wrote: >> The following patch has remained unrevied for a month: >> >> [build] Support init priority on Solaris >> https://gcc.gnu.org/ml/gcc-patches/2015-10/msg00716.h

Re: libgo patch committed: Update to Go 1.5 release

2015-11-08 Thread Rainer Orth
Ian Lance Taylor <i...@golang.org> writes: > On Fri, Nov 6, 2015 at 5:01 AM, Rainer Orth <r...@cebitec.uni-bielefeld.de> > wrote: >> Ian Lance Taylor <i...@golang.org> writes: >> >>> I have committed a patch to libgo to update it to the Go 1.

Re: libgo patch committed: Update to Go 1.5 release

2015-11-06 Thread Rainer Orth
return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPALIVE_THRESHOLD, msecs)) ^ Not in Solaris 10, only Solaris 11 and 12 have it. Rainer -- ------

Unreviewed patch

2015-11-06 Thread Rainer Orth
-- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PING 2] [PATCH] c++/67942 - diagnose placement new buffer overflow

2015-11-06 Thread Rainer Orth
%qwu in a region of type %qT " "and size at most %qwu", type, tree_to_uhwi (nelts), bytes_need, TREE_TYPE (oper), Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

[build] Support init priority on Solaris

2015-10-07 Thread Rainer Orth
, and x86_64-pc-linux-gnu. Ok for mainline? I'm not really comfortable with backporting such a change to the gcc-5 branch, though. Rainer 2015-09-10 Rainer Orth <r...@cebitec.uni-bielefeld.de> libgcc: * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_S

Re: [PATCH] Cleanup of IPA-CP alignment lattices

2015-10-07 Thread Rainer Orth
vol/gcc/src/hg/trunk/solaris/gcc/system.h:218, from /vol/gcc/src/hg/trunk/solaris/gcc/ipa-cp.c:104: /usr/include/iso/stdlib_iso.h:225:16: note: long int std::abs(long int) inline long abs(long _l) { return labs(_l); } ^ /usr/include/iso/stdlib_iso.h:180:12: note: int std::abs(int) extern int abs(int); ^ Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [build] Support PIE on Solaris

2015-10-01 Thread Rainer Orth
Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > >> Beyond the reasons for the bundled Solaris CRTs already cited in >> >> https://gcc.gnu.org/ml/gcc-patches/2015-09/msg01638.html >>

Re: [PATCH][RTL-ifcvt] PR rtl-optimization/67465: Handle pairs of complex+simple blocks and empty blocks more gracefully

2015-09-25 Thread Rainer Orth
th them both applied, the sparc-sun-solaris2.12 build succeeds and the two gcc.c-torture/execute/20071216-1.c failures are gone. So, from a SPARC POV the patches are good to go. Thanks. Rainer -- ----- Rainer

Re: [build] Support PIE on Solaris

2015-09-24 Thread Rainer Orth
Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > Beyond the reasons for the bundled Solaris CRTs already cited in > > https://gcc.gnu.org/ml/gcc-patches/2015-09/msg01638.html > > they need to be PIC to support position independent executables (PIE). > > While

Re: libgo patch committed: rewrite lfstack to look more like gc code

2015-09-24 Thread Rainer Orth
[lfstack.lo] Error 1 Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: libgo patch committed: rewrite lfstack to look more like gc code

2015-09-24 Thread Rainer Orth
fs... Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

[build] Use CRTs provided by Solaris

2015-09-22 Thread Rainer Orth
reasonably quickly. Rainer 2015-05-22 Rainer Orth <r...@cebitec.uni-bielefeld.de> gcc: * configure.ac (gcc_cv_solaris_crts): New test. * configure. Regenerate. * config.in: Regenerate. * config/sol2.h (STARTFILE_SPEC): Simplify, p

[build] Support PIE on Solaris

2015-09-22 Thread Rainer Orth
. Rainer 2015-02-10 Rainer Orth <r...@cebitec.uni-bielefeld.de> gcc/testsuite: * lib/target-supports.exp (check_effective_target_pie): Check for PIE support on Solaris 11.x and 12. libgcc: * config.host (*-*-solaris2*): Add t-crtstu

Re: [PATCH][RTL-ifcvt] PR rtl-optimization/67465: Handle pairs of complex+simple blocks and empty blocks more gracefully

2015-09-18 Thread Rainer Orth
tstrap/67622) and I'll have to hunt that down first. Rainer -- ----- Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH][RTL-ifcvt] PR rtl-optimization/67465: Handle pairs of complex+simple blocks and empty blocks more gracefully

2015-09-17 Thread Rainer Orth
Hi Kyrill, > On 11/09/15 09:51, Rainer Orth wrote: >> Kyrill Tkachov <kyrylo.tkac...@arm.com> writes: >> >>> On 10/09/15 12:43, Rainer Orth wrote: >>>> Hi Kyrill, >>>> >>>>> Rainer, could you please check that this patch still f

[testsuite] Link gcc.dg/pie-link.c with -pie

2015-09-11 Thread Rainer Orth
y much so on Linux and Solaris, where it is necessary for PIE creation. Fixed thus, tested on x86_64-unknown-linux-gnu and *-*-solaris2.12 with my upcoming PIE patch. Ok for mainline and gcc-5 branch? Rainer 2015-02-10 Rainer Orth <r...@cebitec.uni-bielefeld.de> * gcc.d

Re: [libgo] Use stat_atim.go on Solaris 12+

2015-09-11 Thread Rainer Orth
Ian Lance Taylor <i...@google.com> writes: > On Wed, Aug 26, 2015 at 4:14 AM, Rainer Orth > <r...@cebitec.uni-bielefeld.de> wrote: >> Solaris 12 changes the stat_[amc]tim members of struct stat from >> timestruc_t to timespec_t for XPG7 compatiblity, th

Re: [testsuite] Link gcc.dg/pie-link.c with -pie

2015-09-11 Thread Rainer Orth
Jakub Jelinek <ja...@redhat.com> writes: > On Fri, Sep 11, 2015 at 11:08:03AM +0200, Rainer Orth wrote: >> While starting to develop the patch for Solaris PIE support, >> the gcc.dg/pie-link.c test succeeded at a point when it shouldn't have, >> i.e. before I had PIC

Re: [PATCH][RTL-ifcvt] PR rtl-optimization/67465: Handle pairs of complex+simple blocks and empty blocks more gracefully

2015-09-11 Thread Rainer Orth
Kyrill Tkachov <kyrylo.tkac...@arm.com> writes: > On 10/09/15 12:43, Rainer Orth wrote: >> Hi Kyrill, >> >>> Rainer, could you please check that this patch still fixes the SPARC >>> regressions? >> unfortunately, it breaks sparc-sun-solaris2.10 boo

Re: [PATCH][RTL-ifcvt] PR rtl-optimization/67465: Handle pairs of complex+simple blocks and empty blocks more gracefully

2015-09-10 Thread Rainer Orth
Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Unreviewed libgo patch

2015-09-10 Thread Rainer Orth
-- - Rainer Orth, Center for Biotechnology, Bielefeld University

Backports of Solaris 12 patches to gcc 5 branch

2015-09-10 Thread Rainer Orth
branch. They've been on mainline for two weeks without any known issues. Rainer -- - Rainer Orth, Center for Biotechnology, Bielefeld University

Re: [PATCH][RTL-ifcvt] PR rtl-optimization/67465: Do not ifcvt complex blocks if the else block is empty

2015-09-09 Thread Rainer Orth
Kyrill Tkachov <kyrylo.tkac...@arm.com> writes: > On 08/09/15 10:26, Rainer Orth wrote: >> Hi Kyrill, >> >>> PR rtl-optimization/67481 is a testsuite regression on sparc-solaris that >>> Rainer reported. I haven't tested >>> that this pat

Re: [PATCH][RTL-ifcvt] PR rtl-optimization/67465: Do not ifcvt complex blocks if the else block is empty

2015-09-08 Thread Rainer Orth
've now checked that with your patch the regression went away indeed, using a limited non-bootstrap build on sparc-sun-solaris2.10. Next I'll run a full bootstrap to check there are no other issues. Thanks. Rainer -- ------

Re: [libgo] Use stat_atim.go on Solaris 12+

2015-09-03 Thread Rainer Orth
Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > Solaris 12 changes the stat_[amc]tim members of struct stat from > timestruc_t to timespec_t for XPG7 compatiblity, thus breaking the libgo > build. The following patch checks for this change and uses the common > stat_atim

[testsuite, fortran] XFAIL gfortran.dg/execute_command_line_2.f90 (PR libfortran/67412)

2015-09-01 Thread Rainer Orth
with the appropriate runtest invocations on i386-pc-solaris2.10 and i386-pc-solaris2.12, installed on mainline as pre-approved in the PR. Rainer 2015-09-01 Rainer Orth <r...@cebitec.uni-bielefeld.de> PR libfortran/67412 * gfortran.dg/execute_command_line_2.f90: XFAIL exe

<    7   8   9   10   11   12   13   14   15   16   >