Re: [PATCH, libphobos] Add explicit casts in emutls.d to fix build on some systems

2019-05-02 Thread Iain Buclaw
On Thu, 2 May 2019 at 20:52, Johannes Pfau wrote: > > Am 02.05.19 um 20:48 schrieb Johannes Pfau: > > This fixes builds on systems where __builtin_machine_uint != size_t. In D, > > casts from larger to smaller integer size need to be made explicitly. > > Most notably this fixes --disable-tls for M

Re: [PATCH] libphobos: RISC-V: Fix soft-float build errors with IEEE exception flags

2019-05-02 Thread Iain Buclaw
On Thu, 2 May 2019 at 22:35, Jim Wilson wrote: > > On Wed, May 1, 2019 at 6:14 PM Maciej Rozycki wrote: > > within inline assembly, to access IEEE exception flags. The use of > > these instructions is not allowed when building for a soft-float ABI. > > Technically it is an architecture issue not

libstdc++/90277 Review rehash policy

2019-05-02 Thread François Dumont
Hi     This is a patch I already proposed in another thread but I review it and moreover there is now a PR associated so I am submitting it as a brand new one.     So working on PR 68303 I noticed that one of the performance issue of current implementation is that initial sizing of buckets i

Re: [PATCH] Use _GLIBCXX_NOEXCEPT_IF for std::swap

2019-05-02 Thread Jonathan Wakely
On 02/05/19 21:33 +0100, Jonathan Wakely wrote: On 02/05/19 20:11 +0100, Jonathan Wakely wrote: On 02/05/19 20:09 +0100, Jonathan Wakely wrote: On 02/05/19 20:34 +0200, Stephan Bergmann wrote: On 29/04/2019 15:26, Jonathan Wakely wrote: * include/bits/move.h (swap(T&, T&), swap(T (&)[N],

Re: [PATCH][stage1] Prefer to use strlen call instead of inline expansion (PR target/88809).

2019-05-02 Thread Jakub Jelinek
On Tue, Apr 30, 2019 at 10:00:07AM -0600, Jeff Law wrote: > > 2019-04-23 Martin Liska > > > > PR target/88809 > > * config/i386/i386.c (ix86_expand_strlen): Use strlen call. > > With -minline-all-stringops use inline expansion using 4B loop. > > * doc/invoke.texi: Document the c

[PATCH] x86: Put -fPIC and -shared the last to create offload image

2019-05-02 Thread H.J. Lu
On x86, since -fPIC and -shared should be used to create offload image, we put them the last to properly create offload image. PR target/87833 * config/i386/intelmic-mkoffload.c (prepare_target_image): Put -fPIC and -shared the last to create offload image. --- gcc/config/

[PATCH] Remove redundant __constexpr_addressof function

2019-05-02 Thread Jonathan Wakely
The std::__addressof function is always constexpr, even in C++14, so we can just use that. * include/experimental/bits/lfts_config.h: Improve doc markup. * include/experimental/optional: Improve docs. (_Has_addressof_mem, _Has_addressof_free, _Has_addressof) (__con

Re: [PATCH] Several patches to improve libstdc++ API docs

2019-05-02 Thread Jonathan Wakely
On 02/05/19 16:47 +0100, Jonathan Wakely wrote: I've just committed a series of patches to improve the organization and formatting of the Doxygen-generated API documentation. - Update libstdc++ Doxygen config - Adjust Doxygen processing of pb_ds containers - Fix markup for Parallel Mode docs - I

Re: [PATCH] libphobos: RISC-V: Fix soft-float build errors with IEEE exception flags

2019-05-02 Thread Jim Wilson
On Wed, May 1, 2019 at 6:14 PM Maciej Rozycki wrote: > within inline assembly, to access IEEE exception flags. The use of > these instructions is not allowed when building for a soft-float ABI. Technically it is an architecture issue not an ABI issue. If you compile for -march=rv32imac -mabi=il

Re: [PATCH] Use _GLIBCXX_NOEXCEPT_IF for std::swap

2019-05-02 Thread Jonathan Wakely
On 02/05/19 20:11 +0100, Jonathan Wakely wrote: On 02/05/19 20:09 +0100, Jonathan Wakely wrote: On 02/05/19 20:34 +0200, Stephan Bergmann wrote: On 29/04/2019 15:26, Jonathan Wakely wrote: * include/bits/move.h (swap(T&, T&), swap(T (&)[N], T (&)[N])): Use _GLIBCXX_NOEXCEPT_IF to simpl

Mention -std=c2x in GCC 9 release notes

2019-05-02 Thread Joseph Myers
This patch adds a mention of -std=c2x and associated options, and the single new C2X feature supported (given the early stage of C2X development when we left development stage 1), to the GCC 9 release notes. Committed. Index: gcc-9/changes.html

Re: [PATCH] Use _GLIBCXX_NOEXCEPT_IF for std::swap

2019-05-02 Thread Jonathan Wakely
On 02/05/19 20:09 +0100, Jonathan Wakely wrote: On 02/05/19 20:34 +0200, Stephan Bergmann wrote: On 29/04/2019 15:26, Jonathan Wakely wrote: * include/bits/move.h (swap(T&, T&), swap(T (&)[N], T (&)[N])): Use _GLIBCXX_NOEXCEPT_IF to simplify declarations. This just avoids having to rep

Re: [PATCH] Use _GLIBCXX_NOEXCEPT_IF for std::swap

2019-05-02 Thread Jonathan Wakely
On 02/05/19 20:34 +0200, Stephan Bergmann wrote: On 29/04/2019 15:26, Jonathan Wakely wrote: * include/bits/move.h (swap(T&, T&), swap(T (&)[N], T (&)[N])): Use _GLIBCXX_NOEXCEPT_IF to simplify declarations. This just avoids having to repeat the name and parameter-list of the functions.

Re: [RFH] split {generic,gimple}-match.c files

2019-05-02 Thread Richard Biener
On May 2, 2019 8:14:46 PM GMT+02:00, Segher Boessenkool wrote: >On Thu, May 02, 2019 at 07:41:18PM +0200, Richard Biener wrote: >> On May 2, 2019 7:00:16 PM GMT+02:00, Segher Boessenkool > wrote: >> >On Thu, May 02, 2019 at 03:18:00PM +0200, Richard Biener wrote: >> >> Somewhen earlier this year

Re: [PATCH, libphobos] Add explicit casts in emutls.d to fix build on some systems

2019-05-02 Thread Johannes Pfau
Am 02.05.19 um 20:48 schrieb Johannes Pfau: This fixes builds on systems where __builtin_machine_uint != size_t. In D, casts from larger to smaller integer size need to be made explicitly. Most notably this fixes --disable-tls for MIPS64 systems. Built on x86_64 with --disable-tls and ran D te

[PATCH, libphobos] Add explicit casts in emutls.d to fix build on some systems

2019-05-02 Thread Johannes Pfau
This fixes builds on systems where __builtin_machine_uint != size_t. In D, casts from larger to smaller integer size need to be made explicitly. Most notably this fixes --disable-tls for MIPS64 systems. libphobos/ChangeLog: 2019-05-02 Johannes Pfau * libdruntime/gcc/emutls.d: Add expl

Let ldist ignore clobbers

2019-05-02 Thread Marc Glisse
Hello, this lets ldist ignore clobbers. In the testcase, this makes us lose the information that b is clobbered, but being able to distribute seems worth it. Bootstrap+regtest on x86_64-pc-linux-gnu. 2019-05-03 Marc Glisse PR tree-optimization/90269 gcc/ * tree-loop-distr

Re: [PATCH] Use _GLIBCXX_NOEXCEPT_IF for std::swap

2019-05-02 Thread Stephan Bergmann
On 29/04/2019 15:26, Jonathan Wakely wrote: * include/bits/move.h (swap(T&, T&), swap(T (&)[N], T (&)[N])): Use _GLIBCXX_NOEXCEPT_IF to simplify declarations. This just avoids having to repeat the name and parameter-list of the functions. libstdc++-v3/include/std/type_traits still ha

[PATCH 2/2] rs6000: Make debug regnums independent of internal ones

2019-05-02 Thread Segher Boessenkool
Where we use "internal GCC register numbers" in debug info, that defines an ABI, so we cannot change those numbers. But we want to change the internal numbers, and sometimes we do that without remembering this gotcha anyway; so let's make everything independent of the internal numbers. For those

[PATCH 1/2] rs6000: Debug regnums for TM registers

2019-05-02 Thread Segher Boessenkool
Since GCC 8, we have output incorrect numbers for the transactional memory registers. Also, we didn't output the correct DWARF register numbers for those. The number for sprN is 100+N. This fixes both these issues. Tested on powerpc64-linux (-m32,-m64} and on powerpc64le-linux. Committing. I ho

Re: [RFH] split {generic,gimple}-match.c files

2019-05-02 Thread Segher Boessenkool
On Thu, May 02, 2019 at 07:41:18PM +0200, Richard Biener wrote: > On May 2, 2019 7:00:16 PM GMT+02:00, Segher Boessenkool > wrote: > >On Thu, May 02, 2019 at 03:18:00PM +0200, Richard Biener wrote: > >> Somewhen earlier this year I've done the experiment with using > >> a compile with -flto -fno-

Re: V5 [PATCH] Optimize vector constructor

2019-05-02 Thread H.J. Lu
On Thu, May 2, 2019 at 7:55 AM Richard Biener wrote: > > On Thu, May 2, 2019 at 4:54 PM Richard Biener > wrote: > > > > On Mon, Mar 11, 2019 at 8:03 AM H.J. Lu wrote: > > > > > > On Fri, Mar 8, 2019 at 7:03 PM Richard Biener > > > wrote: > > > > > > > > On Fri, Mar 8, 2019 at 9:49 AM H.J. Lu w

Re: [RFH] split {generic,gimple}-match.c files

2019-05-02 Thread Richard Biener
On May 2, 2019 7:00:16 PM GMT+02:00, Segher Boessenkool wrote: >On Thu, May 02, 2019 at 03:18:00PM +0200, Richard Biener wrote: >> Somewhen earlier this year I've done the experiment with using >> a compile with -flto -fno-fat-lto-objects and a link >> via -flto -r -flinker-output=rel into the ob

Re: [RFH] split {generic,gimple}-match.c files

2019-05-02 Thread Segher Boessenkool
On Thu, May 02, 2019 at 03:18:00PM +0200, Richard Biener wrote: > Somewhen earlier this year I've done the experiment with using > a compile with -flto -fno-fat-lto-objects and a link > via -flto -r -flinker-output=rel into the object file. This cut > compile-time more than in half with less maint

[v3 PATCH] Make stateful allocator propagation more consistent for operator+(basic_string) (P1165R1)

2019-05-02 Thread Nina Dinka Ranns
Tested on Linux x86_64 Make stateful allocator propagation more consistent for operator+(basic_string) (P1165R1) 2019-05-01 Nina Dinka Ranns Make stateful allocator propagation more consistent for operator+(basic_string) (P1165R1) * include/bits/basic_string.tcc: (opera

Re: [patch, fortran] Fix PR 61968

2019-05-02 Thread Thomas Koenig
Hi Dominique, Not for me, I still get % gfc pr61968.f90 -c -O3 pr61968.f90:32:0: 32 | call test_lib (a, int (sizeof (a), kind=c_size_t)) | internal compiler error: in gfc_trans_create_temp_array, at fortran/trans-array.c:1265 You're right, I will clear this up separately. I

Re: [PATCH] Several patches to improve libstdc++ API docs

2019-05-02 Thread Jonathan Wakely
On 02/05/19 16:47 +0100, Jonathan Wakely wrote: I've just committed a series of patches to improve the organization and formatting of the Doxygen-generated API documentation. - Update libstdc++ Doxygen config - Adjust Doxygen processing of pb_ds containers - Fix markup for Parallel Mode docs - I

Re: [PATCH] libphobos: RISC-V: Fix soft-float build errors with IEEE exception flags

2019-05-02 Thread Iain Buclaw
On Thu, 2 May 2019 at 12:36, Jakub Jelinek wrote: > > On Thu, May 02, 2019 at 09:37:36AM +0200, Iain Buclaw wrote: > > > libphobos/ > > > * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float > > > ABI. > > > (IeeeFlags.resetIeeeFlags): Likewise. > > >

Re: [PATCH/AARCH64] Generate FRINTZ for (double)(long) under -ffast-math on aarch64

2019-05-02 Thread Andrew Pinski
On Fri, Aug 18, 2017 at 12:17 PM Andrew Pinski wrote: > > Like https://gcc.gnu.org/ml/gcc-patches/2010-09/msg00060.html for > PowerPC, we should do something similar for aarch64. This pattern > does show up in SPEC CPU 2006 in astar but I did not look into > performance improvement of it though.

Re: [PATCH] [AARCH64] Improve vector generation cost model

2019-05-02 Thread Andrew Pinski
On Thu, Mar 14, 2019 at 6:19 PM wrote: > > From: Andrew Pinski > > Hi, > On OcteonTX2, ld1r and ld1 (with a single lane) are split > into two different micro-ops unlike most other targets. > This adds three extra costs to the cost table: > ld1_dup: used for "ld1r {v0.4s}, [x0]" > merge_dup: use

Re: [PATCH] Fix PR 81721: ICE with PCH and Pragma warning and C++ operator

2019-05-02 Thread Andrew Pinski
On Mon, Apr 1, 2019 at 5:12 PM wrote: > > From: Andrew Pinski > > Hi, > The problem here is the token->val.node is not saved over > a precompiled header for C++ operator. This can cause an > internal compiler error as we tried to print out the spelling > of the token as we assumed it was valid

[PATCH] Several patches to improve libstdc++ API docs

2019-05-02 Thread Jonathan Wakely
I've just committed a series of patches to improve the organization and formatting of the Doxygen-generated API documentation. - Update libstdc++ Doxygen config - Adjust Doxygen processing of pb_ds containers - Fix markup for Parallel Mode docs - Improve Doxygen docs for nested namespaces - Impro

Re: [PATCH] Error only when -mabi=ms is used on a non-MS_ABI system (PR sanitizer/90312).

2019-05-02 Thread Jakub Jelinek
On Thu, May 02, 2019 at 05:11:02PM +0200, Martin Liška wrote: > As mentioned in the PR, we should not provide an error on mingw and cygwin > targets. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Can one use sysv_abi in code compiled on windows (where msabi is the def

Re: [committed] [PR tree-optimization/88797] Thottle back path splitting in another case where it'll inhibit if-conversion

2019-05-02 Thread Richard Biener
On Thu, May 2, 2019 at 5:07 PM Jeff Law wrote: > > On 5/2/19 7:23 AM, Richard Biener wrote: > > On Thu, May 2, 2019 at 3:17 PM Jeff Law wrote: > >> > >> On 5/2/19 6:22 AM, Richard Biener wrote: > >>> On Wed, May 1, 2019 at 7:32 PM Jeff Law wrote: > > > This fixes pr88797 by avoidi

[PATCH] Error only when -mabi=ms is used on a non-MS_ABI system (PR sanitizer/90312).

2019-05-02 Thread Martin Liška
Hi. As mentioned in the PR, we should not provide an error on mingw and cygwin targets. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/ChangeLog: 2019-05-02 Martin Liska PR sanitizer/90312 * config/i386/i386.

Re: [committed] [PR tree-optimization/88797] Thottle back path splitting in another case where it'll inhibit if-conversion

2019-05-02 Thread Jeff Law
On 5/2/19 7:23 AM, Richard Biener wrote: > On Thu, May 2, 2019 at 3:17 PM Jeff Law wrote: >> >> On 5/2/19 6:22 AM, Richard Biener wrote: >>> On Wed, May 1, 2019 at 7:32 PM Jeff Law wrote: This fixes pr88797 by avoiding path splitting when we've got a candidate, but the PHI fee

[PATCH, Darwin, committed] Fix regressed instantiate2

2019-05-02 Thread Iain Sandoe
This test regressed when we fixed Darwin to follow the standard ABI and I missed to commit the change at the time. backports to 9,8,7 pending re-opening of 9. The fix is to remove Darwin’s special-casing thus. thanks Iain Index: gcc/testsuite/ChangeLog ==

Re: V5 [PATCH] Optimize vector constructor

2019-05-02 Thread Richard Biener
On Thu, May 2, 2019 at 4:54 PM Richard Biener wrote: > > On Mon, Mar 11, 2019 at 8:03 AM H.J. Lu wrote: > > > > On Fri, Mar 8, 2019 at 7:03 PM Richard Biener > > wrote: > > > > > > On Fri, Mar 8, 2019 at 9:49 AM H.J. Lu wrote: > > > > > > > > On Thu, Mar 7, 2019 at 9:51 AM H.J. Lu wrote: > > >

Re: V5 [PATCH] Optimize vector constructor

2019-05-02 Thread Richard Biener
On Mon, Mar 11, 2019 at 8:03 AM H.J. Lu wrote: > > On Fri, Mar 8, 2019 at 7:03 PM Richard Biener > wrote: > > > > On Fri, Mar 8, 2019 at 9:49 AM H.J. Lu wrote: > > > > > > On Thu, Mar 7, 2019 at 9:51 AM H.J. Lu wrote: > > > > > > > > On Wed, Mar 6, 2019 at 8:33 PM Richard Biener > > > > wrote:

Re: [PATCH] Fix PR89653

2019-05-02 Thread Richard Biener
On Mon, Mar 11, 2019 at 12:39 PM Richard Biener wrote: > > > The following fixes a missed vectorization of std::min() when > only one argument is a temporary. The following patch is the least > intrusive and safest one - PRE already performs the necessary > work to make this vectorizable, it's ju

[PATCH] Fix PR89509

2019-05-02 Thread Richard Biener
The following fixes PR89509. Bootstrapped / tested on x86_64-unknown-linux-gnu, applied. Richard. 2019-05-02 Richard Biener PR tree-optimization/89509 * tree-ssa-structalias.c (compute_dependence_clique): Look at the first subvar when determining whether it is restr

Re: [OpenACC] Update OpenACC data clause semantics to the 2.5 behavior - runtime

2019-05-02 Thread Thomas Schwinge
Hi Jakub! I'm currently working on other pending OpenACC 'deviceptr' clause patches from our backlog, and I noticed the following, which I don't understand. You reviewed and approved this patch, could you please help? On Tue, 19 Jun 2018 10:01:20 -0700, Cesar Philippidis wrote: > --- a/libgomp/

Re: [PATCH] PR85574 - add gcc/lto$(exeext) to files compared

2019-05-02 Thread Richard Biener
On Thu, Jan 3, 2019 at 3:16 PM Richard Biener wrote: > > > This makes sure we do not regress PR85574 and thus that when > doing LTO bootstrap the generated binaries do not differ from > stage2 to stage3. Note we indepenently verify the object > files which contain just LTO bytecode do not differ

[PATCH, Darwin, committed] Fix some regressed rests.

2019-05-02 Thread Iain Sandoe
Hi, This fixes three tests that regressed because the regex wasn’t flexible enough to cope with codegen changes. Will backport once 9 opens. thanks Iain Index: gcc/testsuite/ChangeLog === --- gcc/testsuite/ChangeLog (revision

Re: [testsuite, i386] Restrict gcc.target/i386/spellcheck-options-5.c to Linux targets

2019-05-02 Thread Jakub Jelinek
On Thu, May 02, 2019 at 03:25:33PM +0200, Rainer Orth wrote: > The new gcc.target/i386/spellcheck-options-5.c testcase FAILs on all > non-Linux targets (seen on i386-pc-solaris2.11, but there are also > gcc-testresults reports for freebsd and darwin): > > +FAIL: gcc.target/i386/spellcheck-options-

[testsuite, i386] Restrict gcc.target/i386/spellcheck-options-5.c to Linux targets

2019-05-02 Thread Rainer Orth
The new gcc.target/i386/spellcheck-options-5.c testcase FAILs on all non-Linux targets (seen on i386-pc-solaris2.11, but there are also gcc-testresults reports for freebsd and darwin): +FAIL: gcc.target/i386/spellcheck-options-5.c (test for errors, line ) +FAIL: gcc.target/i386/spellcheck-options

Re: [committed] [PR tree-optimization/88797] Thottle back path splitting in another case where it'll inhibit if-conversion

2019-05-02 Thread Richard Biener
On Thu, May 2, 2019 at 3:17 PM Jeff Law wrote: > > On 5/2/19 6:22 AM, Richard Biener wrote: > > On Wed, May 1, 2019 at 7:32 PM Jeff Law wrote: > >> > >> > >> This fixes pr88797 by avoiding path splitting when we've got a > >> candidate, but the PHI feeds a conditional in the join block. ie: > >>

Re: [RFH] split {generic,gimple}-match.c files

2019-05-02 Thread Richard Biener
On Mon, 29 Apr 2019, Martin Liška wrote: > On 9/10/18 1:43 PM, Martin Liška wrote: > > On 09/04/2018 05:07 PM, Martin Liška wrote: > >> - in order to achieve real speed up we need to split also other generated > >> (and also dwarf2out.c, i386.c, ..) files: > >> here I'm most concerned about insn-

Re: [committed] [PR tree-optimization/88797] Thottle back path splitting in another case where it'll inhibit if-conversion

2019-05-02 Thread Jeff Law
On 5/2/19 6:22 AM, Richard Biener wrote: > On Wed, May 1, 2019 at 7:32 PM Jeff Law wrote: >> >> >> This fixes pr88797 by avoiding path splitting when we've got a >> candidate, but the PHI feeds a conditional in the join block. ie: >> >> # iftmp.0_11 = PHI <(3), 1112(4)> >> [ ... ] >> _14

Re: [PATCH] Fix up gfor_cdir

2019-05-02 Thread Richard Biener
On Thu, May 2, 2019 at 10:08 AM Jakub Jelinek wrote: > > Hi! > > On Wed, May 01, 2019 at 03:18:00PM -0400, Arvind Sankar wrote: > > Including Paul -- looks like the file gets installed in different places > > in fortran-dev branch vs trunk? > > I agree this is a bug on both sides, on the GCC side

[C++ PATCH] remove unreachable code

2019-05-02 Thread Nathan Sidwell
Applying this patch to remove code that has become unreachable. We'll already have bailed out if it was a NAMESPACE_DECL. nathan -- Nathan Sidwell 2019-05-02 Nathan Sidwell * semantics.c (finish_id_expression_1): Remove unreachable code. Index: gcc/cp/semantics.c =

Re: [PATCH PR90240][RFC]Avoid scaling cost overflow by introducing scaling bound

2019-05-02 Thread Richard Biener
On Tue, Apr 30, 2019 at 4:05 AM Bin.Cheng wrote: > > On Mon, Apr 29, 2019 at 8:01 PM Richard Biener > wrote: > > > > On Sat, Apr 27, 2019 at 6:13 AM bin.cheng > > wrote: > > > > > > Hi, > > > > > > This is the draft patch avoiding scaling cost overflow by introducing a > > > scaling bound > >

Re: [PATCH][stage1] Support profile (BB counts and edge probabilities) in GIMPLE FE.

2019-05-02 Thread Richard Biener
On Mon, Apr 29, 2019 at 2:51 PM Martin Liška wrote: > > On 4/26/19 3:18 PM, Richard Biener wrote: > > On Wed, Apr 10, 2019 at 10:12 AM Martin Liška wrote: > >> > >> On 4/9/19 3:19 PM, Jan Hubicka wrote: > Hi. > > There's updated version that supports profile quality for both counts

Re: [committed] [PR tree-optimization/88797] Thottle back path splitting in another case where it'll inhibit if-conversion

2019-05-02 Thread Richard Biener
On Wed, May 1, 2019 at 7:32 PM Jeff Law wrote: > > > This fixes pr88797 by avoiding path splitting when we've got a > candidate, but the PHI feeds a conditional in the join block. ie: > > # iftmp.0_11 = PHI <(3), 1112(4)> > [ ... ] > _14 = iftmp.0_11 > x_17; > > > These are more likely go

Re: [wwwdocs] Add some info on LTO/IPA changes for GCC 9

2019-05-02 Thread Jan Hubicka
> On Thu, 2 May 2019, Martin Liška wrote: > > > Hi. > > > > I'm sending updated version. > > OK (though the various absolute percentages might be misleading since > they obviously refer to a very specific build environment). I have comitted this and added bit more specific info (Firefox/Libreof

Re: [wwwdocs] Add some info on LTO/IPA changes for GCC 9

2019-05-02 Thread Richard Biener
On Thu, 2 May 2019, Martin Liška wrote: > Hi. > > I'm sending updated version. OK (though the various absolute percentages might be misleading since they obviously refer to a very specific build environment). Richard. > Martin > -- Richard Biener SUSE Linux GmbH, Maxfeldstrasse 5, 90409 Nu

Re: [RFC][PATCH] Postpone print of --help=* option.

2019-05-02 Thread Martin Liška
On 5/2/19 1:04 PM, Jakub Jelinek wrote: > Well, that doesn't answer the question. > I was wondering why you couldn't: Ah sorry, you are right. The patch you suggested is obviously nicer than what we have currently in trunk. Feel free to install it. Martin

Re: [RFC][PATCH] Postpone print of --help=* option.

2019-05-02 Thread Jakub Jelinek
On Thu, May 02, 2019 at 12:51:05PM +0200, Martin Liška wrote: > You are right, it's guarded in #ifdef ACCEL_COMPILER > so I haven't seen the compilation error. > > > > > Any reason why you've called print_help from finish_options rather than > > decode_options after it calls finish_options? > >

[committed, wwwdocs] OpenACC status for GCC 9

2019-05-02 Thread Thomas Schwinge
Hi! Committed to wwwdocs 'htdocs/gcc-9/changes.html' in revision 1.60: Index: htdocs/gcc-9/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-9/changes.html,v retrieving revision 1.59 retrieving revision 1.60 diff -u -p -r1.59 -r

Re: [RFC][PATCH] Postpone print of --help=* option.

2019-05-02 Thread Martin Liška
On 5/2/19 12:30 PM, Jakub Jelinek wrote: > On Mon, Apr 01, 2019 at 02:11:17PM +0200, Martin Liška wrote: >> 2019-04-01 Martin Liska >> >> * gcc.c (process_command): Add dummy file only >> if n_infiles == 0. >> * opts-global.c (decode_options): Pass lang_mask. >> * opts.c (pri

Re: [PATCH] libphobos: RISC-V: Fix soft-float build errors with IEEE exception flags

2019-05-02 Thread Jakub Jelinek
On Thu, May 02, 2019 at 09:37:36AM +0200, Iain Buclaw wrote: > > libphobos/ > > * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float > > ABI. > > (IeeeFlags.resetIeeeFlags): Likewise. > > (FloatingPointControl.getControlState): Likewise. > >

Re: [RFC][PATCH] Postpone print of --help=* option.

2019-05-02 Thread Jakub Jelinek
On Mon, Apr 01, 2019 at 02:11:17PM +0200, Martin Liška wrote: > 2019-04-01 Martin Liska > > * gcc.c (process_command): Add dummy file only > if n_infiles == 0. > * opts-global.c (decode_options): Pass lang_mask. > * opts.c (print_help): New function. > (finish_opti

Re: [wwwdocs] Add some info on LTO/IPA changes for GCC 9

2019-05-02 Thread Martin Liška
Hi. I'm sending updated version. Martin diff --git a/htdocs/gcc-9/changes.html b/htdocs/gcc-9/changes.html index 6123310..c2aedd0 100644 --- a/htdocs/gcc-9/changes.html +++ b/htdocs/gcc-9/changes.html @@ -195,6 +195,11 @@ v.c:10:7: missed: statement clobbers memory: __asm__ __volatile__("" :

Re: [wwwdocs] Add some info on LTO/IPA changes for GCC 9

2019-05-02 Thread Martin Liška
On 4/30/19 7:21 PM, Jan Hubicka wrote: > Hi, > this patch adds some notes on LTO/IPA changes and some statistics > on bulid-time/memory use improvements I collected this weekend. > I also added some of FDO changes I rememebr. Martin, perhaps you can > do more. Hi. I'm fine with the changes (and

Re: [PATCH][DOC] Define email limit for gcc-patches mailing list.

2019-05-02 Thread Martin Liška
On 4/30/19 8:54 PM, Segher Boessenkool wrote: > On Mon, Apr 29, 2019 at 06:29:50PM +, Iain Sandoe wrote: >> >>> On 26 Apr 2019, at 15:08, Gerald Pfeifer wrote: >>> >>> On Fri, 26 Apr 2019, Martin Liška wrote: The patch clarifies that gcc-patches mailing list allows up to 400kB size o

Re: [RFC][PATCH] Postpone print of --help=* option.

2019-05-02 Thread Martin Liška
On 4/30/19 6:18 PM, Jeff Law wrote: > On 4/1/19 6:11 AM, Martin Liška wrote: >> Hi. >> >> Last week I was curious which warnings are disabled by default on top >> of -Wall and -Wextra. Thus I used --help=warning and noticed some discrepancy >> in between documentation and output of the --help optio

[PATCH] Fix up gfor_cdir

2019-05-02 Thread Jakub Jelinek
Hi! On Wed, May 01, 2019 at 03:18:00PM -0400, Arvind Sankar wrote: > Including Paul -- looks like the file gets installed in different places > in fortran-dev branch vs trunk? I agree this is a bug on both sides, on the GCC side because installing the header which is the same on all targets in di

Re: [PATCH] libphobos: RISC-V: Fix soft-float build errors with IEEE exception flags

2019-05-02 Thread Iain Buclaw
On Thu, 2 May 2019 at 03:14, Maciej Rozycki wrote: > > From: Maciej W. Rozycki > > Fix assembly errors: > > .../libphobos/src/std/math.d: Assembler > messages:.../libphobos/src/std/math.d:4773: Error: unrecognized opcode > `frflags a0' > .../libphobos/src/std/math.d:4856: Error: unrecognized op