[PATCH,committed] [MAINTAINERS] Update email address

2018-09-03 Thread Terry Guo
Hi, This is to update my email address per my recent job change. BR, Terry 2018-09-04 Xuepeng Guo * MAINTAINERS: Update my email address. Index: MAINTAINERS === --- MAINTAINERS (revision 264074) +++ MAINTAINERS (working

Re: [PATCH 0/6] [MIPS] Reorganize the loongson march and extensions instructions set

2018-09-03 Thread Paul Hua
Hi Joseph, On Tue, Sep 4, 2018 at 12:21 AM Joseph Myers wrote: > > Each patch adding a new command-line option needs to add documentation of > that option to invoke.texi. As far as I can see the patches document new > CPU names but not new options. Thanks for catch that, The v2 patch added.

Re: [PATCH v2 3/6] [MIPS] Add Loongson EXTensions R2 (EXT2) instructions support

2018-09-03 Thread Paul Hua
On Mon, Sep 3, 2018 at 8:32 PM Paul Hua wrote: > > Hi: The v2 patch add: * gcc/doc/invoke.texi (-mloongson-ext2): Document. Thanks Paul Hua From 6c20a2a9a61058ee7d97d0d01238514ed96b60fd Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Fri, 31 Aug 2018 11:55:48 +0800 Subject: [PATCH 3/6] [MIPS]

Re: [PATCH v2 2/6] [MIPS] Split Loongson EXTensions (EXT) instructions from loongson3a

2018-09-03 Thread Paul Hua
On Mon, Sep 3, 2018 at 8:37 PM Paul Hua wrote: > > sorry, it's should be [PATCH 2/6] not [PATCH 1/6] . > > On Mon, Sep 3, 2018 at 8:30 PM Paul Hua wrote: > > > > Hi: The v2 patch add: * gcc/doc/invoke.texi (-mloongson-ext): Document. Thanks Paul Hua From

[PATCH, OpenACC] Support Fortran derived type members in "acc update" directives

2018-09-03 Thread Julian Brown
Hi, This patch (by Cesar) adds support for Fortran derived type members in "acc update" directives (as specified in OpenACC 2.5 2.14.4., Update Directive). Seemingly only "update" directives may specify derived type members in this way as of OpenACC 2.5. Tested with offloading to NVPTX and

[PATCH] Fix extra parens in config/tls.m4

2018-09-03 Thread coypu
Hi folks, This typo meant that HAVE_CC_TLS wasn't added to confdefs.h. We run a potentially questionable setup where we save the results of running configure for every architecture and then use it in subsequent builds for reliability. the addition of -DHAVE_CC_TLS wasn't saved to confdefs, so

Re: [PATCH, OpenACC] Support C++ "this" in OpenACC directives (PR66053)

2018-09-03 Thread Julian Brown
On Fri, 31 Aug 2018 16:20:08 +0200 Jakub Jelinek wrote: > On Fri, Aug 31, 2018 at 10:04:07AM -0400, Nathan Sidwell wrote: > > On 08/30/2018 04:27 PM, Jason Merrill wrote: > > > > > On Thu, Aug 30, 2018 at 3:31 PM, Julian Brown > > > wrote: > > > > "Apart from parsing, it's necessary to

[C++ Patch] PR 85065 ("[concepts] ICE with invalid use of a concept")

2018-09-03 Thread Paolo Carlini
Hi, in this error-recovery ICE, upon the error make_constrained_auto assigns error_mark_node to PLACEHOLDER_TYPE_CONSTRAINTS (type) which then causes a crash later when hash_placeholder_constraint is called on it. I think we should cope with this somehow, I believe that consistency with the

Re: [wwwdocs] Remove gcc.skazkaforyou.com mirror

2018-09-03 Thread Gerald Pfeifer
On Sat, 1 Sep 2018, Gerald Pfeifer wrote: > This mirror has gone rogue and the domain is for sale, so I went > ahead and removed it with the patch below. Point in case, mirr...@skazkaforyou.com just bounced on me (timeout). I'm starting to think becoming more picky about new mirrors that are not

Re: [PATCHv2] Handle overlength string literals in the fortan FE

2018-09-03 Thread Janne Blomqvist
On Fri, Aug 24, 2018 at 11:06 PM Bernd Edlinger wrote: > Hi! > > > This is an alternative approach to handle overlength strings in the > Fortran FE. > Hi, can you explain a little more what the problem that this patch tries to solve is? What is an "overlength" string? -- Janne Blomqvist

[Patch, Fortran] PR 87172: [9 Regression] Spurious "Derived type 'c_funptr' at (1) has not been declared" error after r263782

2018-09-03 Thread Janus Weil
Hi all, attached is a simple patch that fixes a regression which was introduced by one of my recent commits (spotted by Dominique). My first impulse to fix the spurious error was to check for the 'intrinsic' attribute, however it is actually not set (yet?) in resolve_fl_derived, so the next-best

[PATCH] Optimize sin(atan(x)), take 2

2018-09-03 Thread Giuliano Augusto Faulin Belinassi
Fixed the issues pointed by the previous discussions. Closes PR86829. Adds substitution rules for sin(atan(x)) and cos(atan(x)), being careful with overflow issues by constructing a assumed convergence constant (see comment in real.c). 2018-09-03 Giuliano Belinassi * match.pd: add

[wwwdocs] gcc.css -- fix and simplify twocolumns class

2018-09-03 Thread Gerald Pfeifer
This isn't used anywhere right now, the Java page having been the only consumer, but may well become useful at some point in time, thus keeping and just fixing it: Fix typo in column-count CSS property and remove fallback to -moz-column-count since Mozilla browsers have been supporting the (now)

Re: [PATCH] x86: Replace hard frame pointer with stack pointer - UNITS_PER_WORD

2018-09-03 Thread Florian Weimer
* H. J. Lu: > With > > commit cd557ff63f388ad27c376d0a225e74d3594a6f9d > Author: hjl > Date: Thu Aug 10 15:29:05 2017 + > > i386: Don't use frame pointer without stack access > > When there is no stack access, there is no need to use frame pointer > even if

Re: [PATCH] x86: Replace hard frame pointer with stack pointer - UNITS_PER_WORD

2018-09-03 Thread H.J. Lu
On Mon, Sep 3, 2018 at 9:44 AM, Michael Matz wrote: > Hi, > > On Mon, 3 Sep 2018, H.J. Lu wrote: > >> > So, what's the testcase testing then? Before the patch it doesn't ICE, >> > after the patch it doesn't ICE. What should I look out for so I can see >> > that what the testcase is producing

Re: [PATCH] x86: Replace hard frame pointer with stack pointer - UNITS_PER_WORD

2018-09-03 Thread Michael Matz
Hi, On Mon, 3 Sep 2018, H.J. Lu wrote: > > So, what's the testcase testing then? Before the patch it doesn't ICE, > > after the patch it doesn't ICE. What should I look out for so I can see > > that what the testcase is producing without the patch is wrong? > > Before the patch, debug info is

RE: Add new warning flag "warn_prio_ctor_dtor"

2018-09-03 Thread Joseph Myers
On Mon, 3 Sep 2018, Vinay Kumar wrote: > Thanks for reviewing the patch and your suggestions. > Please find attached the modified patch as per your review comments. > Please review the patch and let me know if its okay? Thanks, this seems to address the issues I saw in earlier versions (there's

Re: [PATCH 0/6] [MIPS] Reorganize the loongson march and extensions instructions set

2018-09-03 Thread Joseph Myers
Each patch adding a new command-line option needs to add documentation of that option to invoke.texi. As far as I can see the patches document new CPU names but not new options. -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH] x86: Replace hard frame pointer with stack pointer - UNITS_PER_WORD

2018-09-03 Thread H.J. Lu
On Mon, Sep 3, 2018 at 8:20 AM, Michael Matz wrote: > Hi, > > On Mon, 3 Sep 2018, H.J. Lu wrote: > >> > % ./gcc/cc1plus -quiet -O -g -fno-omit-frame-pointer -fno-var-tracking x.cc >> > % ./gcc/cc1plus -quiet -O -g -fno-omit-frame-pointer -fvar-tracking x.cc >> >> It is because of >> >>

[PATCH] rs6000: lxsdux / stxsdux do not exist

2018-09-03 Thread Segher Boessenkool
Our md files refer to {l,st}xsd%Ux, but no {l,st}xsdux insns exist. This patch removes the update forms. All these use constraint "Z" which does not allow update form, so there is no practical difference. Tested on powerpc64{,le}-linux; committing. Segher 2018-09-03 Segher Boessenkool

Re: [PATCH] fixincludes: vxworks: remove unnecessary parentheses in ioctl wrapper macro

2018-09-03 Thread Olivier Hainque
> On 3 Sep 2018, at 17:25, Bruce Korb wrote: > > On Mon, Sep 3, 2018 at 2:46 AM Olivier Hainque wrote: >>> -"#define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n"; >>> +"#define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n"; >> >> ok by me, thanks. > >

Re: [PATCH] fixincludes: vxworks: remove unnecessary parentheses in ioctl wrapper macro

2018-09-03 Thread Bruce Korb
On Mon, Sep 3, 2018 at 2:46 AM Olivier Hainque wrote: > > -"#define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n"; > > +"#define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n"; > > ok by me, thanks. Shouldn't this qualify as "trivial"? :)

Re: [PATCH] x86: Replace hard frame pointer with stack pointer - UNITS_PER_WORD

2018-09-03 Thread Michael Matz
Hi, On Mon, 3 Sep 2018, H.J. Lu wrote: > > % ./gcc/cc1plus -quiet -O -g -fno-omit-frame-pointer -fno-var-tracking x.cc > > % ./gcc/cc1plus -quiet -O -g -fno-omit-frame-pointer -fvar-tracking x.cc > > It is because of > > gcc_assert ((SUPPORTS_STACK_ALIGNMENT >

[patch, fortran] Fix for modulo checking similar to PR86045

2018-09-03 Thread Jerry DeLisle
Hi all, Similar to Steve's fix of 'mod' checking for 86045, the attached patch fixes an ICE in 'modulo' when P = 0. Mark pointed this out and greatly assisted with the patch. I have regression tested and plan to commit to trunk, 8, and 7 so that we are in sync with the 'mod' patch. If no

[PATCH] PR libstdc++/78179 run long double tests separately

2018-09-03 Thread Jonathan Wakely
Split the long double testing into a separate file, so that we can XFAIL targets where the long double precision doesn't meet the expected tolerances. The float and double tests are still expefted to PASS for all targets. PR libstdc++/78179 *

RE: Add new warning flag "warn_prio_ctor_dtor"

2018-09-03 Thread Vinay Kumar
Hi Joseph, >> The documentation is of a new option, not of -Wreturn-type Done >> you should list the option as -Wno-prio-ctor-dtor when documenting Done >> You're not meant to have the literal text ", no ()" in the manual Sorry for the confusion. Modified it accordingly >> I don't see why a

Re: [PATCH] x86: Replace hard frame pointer with stack pointer - UNITS_PER_WORD

2018-09-03 Thread H.J. Lu
On Mon, Sep 3, 2018 at 7:32 AM, Michael Matz wrote: > Hi, > > On Sun, 2 Sep 2018, H.J. Lu wrote: > >> Here is the patch to replace hard frame pointer with stack pointer >> - UNITS_PER_WORD in x86 backend. >> >> OK for trunk? >> >> +// { dg-options "-O -g -fno-omit-frame-pointer -fvar-tracking" }

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

2018-09-03 Thread Richard Biener
On Mon, 3 Sep 2018, Martin Liška wrote: > On 09/03/2018 04:00 PM, Richard Biener wrote: > > On Mon, 3 Sep 2018, Martin Liška wrote: > > > >> On 09/03/2018 02:54 PM, Martin Liška wrote: > >>> On 09/03/2018 02:41 PM, Richard Biener wrote: > On Mon, 3 Sep 2018, Martin Liška wrote: > >

[PATCH] Fix PR87176

2018-09-03 Thread Richard Biener
The following fixes a wrong-code issue similar to that in PR87132 where the alias walk reaches into code parts that are only reachable over backedges. This time not via PHI processing but by value-numbering a virtual PHI to its backedge value. That doesn't play well with the way we do

[PATCH]: Allow TARGET_SCHED_ADJUST_PRIORITY hook to reduce priority

2018-09-03 Thread John David Anglin
The documentation for TARGET_SCHED_ADJUST_PRIORITY indicates that the hook can reduce the priority of INSN to execute it later.  The hppa hook only reduces the priority and it has been this way for years.  However, the assert in sel_target_adjust_priority() prevents reduction of the priority.

Re: [PATCH] x86: Replace hard frame pointer with stack pointer - UNITS_PER_WORD

2018-09-03 Thread Michael Matz
Hi, On Sun, 2 Sep 2018, H.J. Lu wrote: > Here is the patch to replace hard frame pointer with stack pointer > - UNITS_PER_WORD in x86 backend. > > OK for trunk? > > +// { dg-options "-O -g -fno-omit-frame-pointer -fvar-tracking" } > + > +struct Foo > +{ > + int bar(int a, int b, int c, int

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

2018-09-03 Thread Martin Liška
On 09/03/2018 04:00 PM, Richard Biener wrote: > On Mon, 3 Sep 2018, Martin Liška wrote: > >> On 09/03/2018 02:54 PM, Martin Liška wrote: >>> On 09/03/2018 02:41 PM, Richard Biener wrote: On Mon, 3 Sep 2018, Martin Liška wrote: > On 04/25/2018 01:42 PM, Richard Biener wrote: >>

[PATCH] Fix vector::_Temporary_value::_M_ptr

2018-09-03 Thread Jonathan Wakely
The pointer argument to allocator_traits::construct and allocator_traits::destroy should be a raw pointer, not the allocator's pointer type. _Temporary_value::_M_ptr was returning the wrong type. * include/bits/stl_vector.h (vector::_Temporary_value::_M_ptr): Return raw pointer

[PATCH] PR libstdc++/87194 fix range insertion into maps and sets

2018-09-03 Thread Jonathan Wakely
Since C++11 range insertion and construction of maps and sets from a pair of iterators only requires that the iterator's value_type is convertible to the container's value_type (previously it had to be the same). This fixes the implementation to meet that relaxed requirement, by defining a pair

[PATCH] PR libstdc++/78595 implement insertion into maps in terms of emplace

2018-09-03 Thread Jonathan Wakely
C++14 simplified the specification of the generic insert function templates to be equivalent to calling emplace (or emplace_hint). Defining them in terms of emplace takes care of the problems described in PR 78595, ensuring a single conversion to value_type is done at the right time. PR

Re: [PATCH] genmatch: isolate reporting into a function

2018-09-03 Thread Martin Liška
On 09/03/2018 03:31 PM, Richard Biener wrote: > On Mon, Sep 3, 2018 at 2:09 PM Martin Liška wrote: >> >> On 09/03/2018 10:19 AM, Richard Biener wrote: >>> On Mon, Sep 3, 2018 at 9:56 AM Martin Liška wrote: Hi. This is small improvement for {gimple,generic}-match.c files.

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

2018-09-03 Thread Richard Biener
On Mon, 3 Sep 2018, Martin Liška wrote: > On 09/03/2018 02:54 PM, Martin Liška wrote: > > On 09/03/2018 02:41 PM, Richard Biener wrote: > >> On Mon, 3 Sep 2018, Martin Liška wrote: > >> > >>> On 04/25/2018 01:42 PM, Richard Biener wrote: > > The following patch^Whack splits $subject

Re: DWARF: Represent hard frame pointer as stack pointer + offset

2018-09-03 Thread Michael Matz
Hi, On Sat, 1 Sep 2018, Segher Boessenkool wrote: > > With -fno-omit-frame-pointer, arg pointer is eliminated with hard frame > > pointer. But > > > > commit cd557ff63f388ad27c376d0a225e74d3594a6f9d > > Author: hjl > > Date: Thu Aug 10 15:29:05 2017 + > > > > i386: Don't use frame

[PATCH] Fix PR87200

2018-09-03 Thread Richard Biener
The following adds a missed valueization to vn_nary_build_or_lookup_1 which previously could have returned an available SSA name as simplification result instead of its value-number. Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Richard. 2018-09-03 Richard Biener

[PATCH] Fix PR87177 (and dup)

2018-09-03 Thread Richard Biener
This reverts vuse_ssa_val back to its previous state. I need to think about how to limit alias walking for regions but will do so as followup. Bootstrap & regtest running on x86_64-unknown-linux-gnu. Richard. 2018-09-03 Richard Biener PR tree-optimization/87177 *

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

2018-09-03 Thread Martin Liška
On 09/03/2018 02:54 PM, Martin Liška wrote: > On 09/03/2018 02:41 PM, Richard Biener wrote: >> On Mon, 3 Sep 2018, Martin Liška wrote: >> >>> On 04/25/2018 01:42 PM, Richard Biener wrote: The following patch^Whack splits $subject files into three, one for the predicates (due to an

Re: [PATCH] genmatch: isolate reporting into a function

2018-09-03 Thread Richard Biener
On Mon, Sep 3, 2018 at 2:09 PM Martin Liška wrote: > > On 09/03/2018 10:19 AM, Richard Biener wrote: > > On Mon, Sep 3, 2018 at 9:56 AM Martin Liška wrote: > >> > >> Hi. > >> > >> This is small improvement for {gimple,generic}-match.c files. > >> The code path that reports application of a

Re: [PATCH] Fix thinko (PR tree-optimization/87201).

2018-09-03 Thread Richard Biener
On Mon, Sep 3, 2018 at 1:59 PM Martin Liška wrote: > > Hi. > > Thinko fix causing many test-suite failures. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? OK. > Martin > > gcc/ChangeLog: > > 2018-09-03 Martin Liska > > PR

[PATCH] Fix PR87169

2018-09-03 Thread Richard Biener
Bootstrapped and tested on x86_64-unkown-linux-gnu, applied. Richard. 2018-09-03 Richard Biener PR tree-optimization/87169 * tree-ssa-sccvn.c (do_rpo_vn): When marking loops for not iterating make sure there's no extra backedges from irreducible regions

[PATCH] Fix PR87197

2018-09-03 Thread Richard Biener
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2018-09-03 Richard Biener PR tree-optimization/87197 * tree-ssa-sccvn.c (vn_nary_build_or_lookup_1): Mark the new def visited. CSE the VN_INFO hashtable lookup. *

Re: [PATCH] fixincludes: vxworks: regs.h: Guard include of vxTypesOld.h by !_ASMLANGUAGE

2018-09-03 Thread Rasmus Villemoes
On 2018-09-03 14:11, Olivier Hainque wrote: > Hi Rasmus, > >> On 27 Jun 2018, at 16:27, Rasmus Villemoes wrote: >> * inclhack.def (AAB_vxworks_regs_vxtypes): Guard include of >> types/vxTypesOld.h by #ifndef _ASMLANGUAGE. >> * fixincl.x: Regenerate. >> --- >>

Re: [PING v2][PATCH] Make function clone name numbering independent.

2018-09-03 Thread Martin Jambor
Hi, On Mon, Sep 03 2018, Richard Biener wrote: > On Mon, Sep 3, 2018 at 12:02 PM Martin Jambor wrote: >> >> Hi, >> >> On Fri, Aug 31 2018, Michael Ploujnikov wrote: >> > I've done some more digging into the current uses of >> > numbered_clone_function_name and checked if any tests fail if I

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

2018-09-03 Thread Martin Liška
On 09/03/2018 02:41 PM, Richard Biener wrote: > On Mon, 3 Sep 2018, Martin Liška wrote: > >> On 04/25/2018 01:42 PM, Richard Biener wrote: >>> >>> The following patch^Whack splits $subject files into three, one >>> for the predicates (due to an implementation detail) and two for >>> the rest -

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

2018-09-03 Thread Richard Biener
On Mon, 3 Sep 2018, Martin Liška wrote: > On 04/25/2018 01:42 PM, Richard Biener wrote: > > > > The following patch^Whack splits $subject files into three, one > > for the predicates (due to an implementation detail) and two for > > the rest - for now into similar LOC size files. > > > > I'd

Re: [PATCH 2/6] [MIPS] Split Loongson EXTensions (EXT) instructions from loongson3a

2018-09-03 Thread Paul Hua
sorry, it's should be [PATCH 2/6] not [PATCH 1/6] . On Mon, Sep 3, 2018 at 8:30 PM Paul Hua wrote: > >

[PATCH 1/6] [MIPS] Split Loongson EXTensions (EXT) instructions from loongson3a

2018-09-03 Thread Paul Hua
From fbe1d77d63f6224126ff4cdfef439182265b1682 Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Fri, 31 Aug 2018 11:52:33 +0800 Subject: [PATCH 2/6] [MIPS] Add support for Loongson EXT istructions. gcc/ * config/mips/mips.c (mips_option_override): Default enable Loongson EXT on Loongson 3a

[PATCH 6/6] [MIPS] Add Loongson 2K1000 processor support

2018-09-03 Thread Paul Hua
From a33230a02948e614e9c5c3a310cf9bdd0968aefc Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Mon, 3 Sep 2018 20:01:54 +0800 Subject: [PATCH 6/6] [MIPS] Add support for Loongson 2K1000 proccessor. gcc/ * config/mips/gs264e.md: New. * config/mips/mips-cpus.def: Define gs264e. *

[PATCH 5/6] [MIPS] Add Loongson 3A2000/3A3000 processor support

2018-09-03 Thread Paul Hua
From 7c7599e473ef5a0e34c7ce192770eaaab7aa2efe Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Mon, 3 Sep 2018 19:45:15 +0800 Subject: [PATCH 5/6] [MIPS] Add support for Loongson 3A2000/3A3000 proccessor. gcc/ * config/mips/gs464e.md: New. * config/mips/mips-cpus.def: Define gs464e. *

Re: [PATCH] Use complete_array_type on flexible array member initializers

2018-09-03 Thread Bernd Edlinger
On 09/03/2018 05:43, Jeff Law wrote: > On 08/26/2018 02:52 AM, Bernd Edlinger wrote: >> On 08/26/18 07:36, Jeff Law wrote: >>> On 08/24/2018 07:13 AM, Bernd Edlinger wrote: Hi! >>> This patch prevents init values of STRING_CST and braced >>> array initializers to reach the

[PATCH 4/6] [MIPS] Add Loongson 3A1000 processor support.

2018-09-03 Thread Paul Hua
From 133e21aa8cd7a6f533840bf8255f8edd27543bb3 Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Fri, 31 Aug 2018 14:08:01 +0800 Subject: [PATCH 4/6] [MIPS] Add support for Loongson 3A1000 proccessor. gcc/ * config/mips/loongson3a.md: Rename to ... * config/mips/gs464.md: ... here. *

[PATCH 3/6] [MIPS] Add Loongson EXTensions R2 (EXT2) instructions support

2018-09-03 Thread Paul Hua
From 2871889515b9c7cc1af7bc93fe9e645b3adcd623 Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Fri, 31 Aug 2018 11:55:48 +0800 Subject: [PATCH 3/6] [MIPS] Add support for Loongson EXT2 istructions. gcc/ * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_loongson_ext2,

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

2018-09-03 Thread Martin Liška
On 04/25/2018 01:42 PM, Richard Biener wrote: > > The following patch^Whack splits $subject files into three, one > for the predicates (due to an implementation detail) and two for > the rest - for now into similar LOC size files. > > I'd like to get help on the makefile changes to make them

[PATCH 0/6] [MIPS] Reorganize the loongson march and extensions instructions set

2018-09-03 Thread Paul Hua
Hi: This series patches reorganize the Loongson -march=xxx and Loongson extensions instructions set. For long time, the Loongson extensions instructions set puts under -march=loongson3a option. We can't disable one of them when we need. The patch (1) split Loongson MultiMedia extensions

Re: [PATCH] fixincludes: vxworks: regs.h: Guard include of vxTypesOld.h by !_ASMLANGUAGE

2018-09-03 Thread Olivier Hainque
Hi Rasmus, > On 27 Jun 2018, at 16:27, Rasmus Villemoes wrote: > * inclhack.def (AAB_vxworks_regs_vxtypes): Guard include of > types/vxTypesOld.h by #ifndef _ASMLANGUAGE. > * fixincl.x: Regenerate. > --- > fixincludes/inclhack.def | 2 ++ > 1 file changed, 2 insertions(+) > >

Re: [PATCH] genmatch: isolate reporting into a function

2018-09-03 Thread Martin Liška
On 09/03/2018 10:19 AM, Richard Biener wrote: > On Mon, Sep 3, 2018 at 9:56 AM Martin Liška wrote: >> >> Hi. >> >> This is small improvement for {gimple,generic}-match.c files. >> The code path that reports application of a pattern is now guarded >> with __builtin_expect. And reporting function

[PATCH] Fix thinko (PR tree-optimization/87201).

2018-09-03 Thread Martin Liška
Hi. Thinko fix causing many test-suite failures. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Martin gcc/ChangeLog: 2018-09-03 Martin Liska PR tree-optimization/87201 * tree-switch-conversion.c

Re: [PATCH 4/4] bb-reorder: convert to gcc_stablesort

2018-09-03 Thread Richard Biener
On Mon, Sep 3, 2018 at 1:17 PM Alexander Monakov wrote: > > On Wed, 29 Aug 2018, Alexander Monakov wrote: > > On Tue, 28 Aug 2018, Michael Matz wrote: > > > > I think it's not too complicated, but how about adding this comment: > > > > > > > > profile_count m = c1.max (c2); > > > > /* Return

Re: [patch, fortran] Asynchronous I/O, take 3

2018-09-03 Thread Bernhard Reutner-Fischer
On Mon, 3 Sep 2018 at 11:07, Janne Blomqvist wrote: > > On Mon, Sep 3, 2018 at 1:39 AM Bernhard Reutner-Fischer > wrote: >> >> On Sun, 15 Jul 2018 at 13:20, Thomas Koenig wrote: >> >> + au = (async_unit *) xmalloc (sizeof (async_unit)); >> >> I'd XCNEW (async_unit) and omit all those NULL and

Re: VRP: abstract out wide int CONVERT_EXPR_P code

2018-09-03 Thread Aldy Hernandez
On 08/28/2018 05:27 AM, Richard Biener wrote: On Mon, Aug 27, 2018 at 2:24 PM Aldy Hernandez wrote: Howdy! Phew, I think this is the last abstraction. This handles the unary CONVERT_EXPR_P code. It's the usual story-- normalize the symbolics to [-MIN,+MAX] and handle everything

Re: [PATCH 4/4] bb-reorder: convert to gcc_stablesort

2018-09-03 Thread Alexander Monakov
On Wed, 29 Aug 2018, Alexander Monakov wrote: > On Tue, 28 Aug 2018, Michael Matz wrote: > > > I think it's not too complicated, but how about adding this comment: > > > > > > profile_count m = c1.max (c2); > > > /* Return 0 if counts are equal, -1 if E1 has the larger count. */ > > >

Re: [PING v2][PATCH] Make function clone name numbering independent.

2018-09-03 Thread Richard Biener
On Mon, Sep 3, 2018 at 12:02 PM Martin Jambor wrote: > > Hi, > > On Fri, Aug 31 2018, Michael Ploujnikov wrote: > > I've done some more digging into the current uses of > > numbered_clone_function_name and checked if any tests fail if I change > > it to suffixed_function_name: > > > > -

Re: A recent change has broken bootstrap on trunk and gcc8-branch

2018-09-03 Thread graham stott
Internal compile  error mpn_base_power_of_two_p Original message From: graham stott Date: 03/09/2018 11:58 (GMT+00:00) To: gcc-patches Cc: gmail Subject: A recent change has broken bootstrap on trunk and gcc8-branch Hi A heads up a change too tree_switch_conversion.c

A recent change has broken bootstrap on trunk and gcc8-branch

2018-09-03 Thread graham stott
Hi A heads up a change too tree_switch_conversion.c has broken bootstraps Graham

Re: [PING v2][PATCH] Make function clone name numbering independent.

2018-09-03 Thread Martin Jambor
Hi, On Fri, Aug 31 2018, Michael Ploujnikov wrote: > I've done some more digging into the current uses of > numbered_clone_function_name and checked if any tests fail if I change > it to suffixed_function_name: > > - gcc/cgraphclones.c: DECL_NAME (new_decl) = numbered_clone_function_name >

Re: [PATCH] fixincludes: vxworks: remove unnecessary parentheses in ioctl wrapper macro

2018-09-03 Thread Olivier Hainque
Hi Rasmus, > On 29 Jun 2018, at 11:47, Rasmus Villemoes wrote: > -"#define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n"; > +"#define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n"; ok by me, thanks.

Re: [patch, fortran] Asynchronous I/O, take 3

2018-09-03 Thread Janne Blomqvist
On Mon, Sep 3, 2018 at 1:39 AM Bernhard Reutner-Fischer < rep.dot@gmail.com> wrote: > On Sun, 15 Jul 2018 at 13:20, Thomas Koenig wrote: > > + au = (async_unit *) xmalloc (sizeof (async_unit)); > > I'd XCNEW (async_unit) and omit all those NULL and 0 stores. > You should use the scalar

Re: [PATCH] Skip check for dlopen() when compiling libstdcxx with avrlibc

2018-09-03 Thread Jonathan Wakely
On 02/09/18 23:36 +0300, Adrian Stratulat wrote: On Sun, Sep 2, 2018 at 11:00 PM Jonathan Wakely wrote: On 02/09/18 22:18 +0300, Adrian Stratulat wrote: >Hello, > >II tried compiling avr-gcc (AVR 8-bit target) with libstdcxx support, >and even if I set the configure parameters to be

Re: [PATCH] genmatch: isolate reporting into a function

2018-09-03 Thread Richard Biener
On Mon, Sep 3, 2018 at 9:56 AM Martin Liška wrote: > > Hi. > > This is small improvement for {gimple,generic}-match.c files. > The code path that reports application of a pattern is now guarded > with __builtin_expect. And reporting function lives in gimple.c. > > For gimple-match.o, difference

Re: [PATCH] Come up with TARGET_GET_VALID_OPTION_VALUES option hook (PR driver/83193).

2018-09-03 Thread Martin Liška
On 08/31/2018 11:29 AM, Martin Liška wrote: > On 08/30/2018 12:16 PM, Richard Biener wrote: >> On Wed, Aug 29, 2018 at 2:47 PM Martin Liška wrote: >>> >>> On 08/29/2018 01:06 PM, Richard Biener wrote: On Mon, Aug 27, 2018 at 12:00 PM Martin Liška wrote: > > On 08/13/2018 03:00 PM,

[PATCH] genmatch: isolate reporting into a function

2018-09-03 Thread Martin Liška
Hi. This is small improvement for {gimple,generic}-match.c files. The code path that reports application of a pattern is now guarded with __builtin_expect. And reporting function lives in gimple.c. For gimple-match.o, difference is: bloaty /tmp/after.o -- /tmp/before.o VM SIZE

Re: [PATCHv3][PR 59521] Respect __builtin_expect in switch statements

2018-09-03 Thread Martin Liška
On 08/31/2018 03:10 PM, Jan Hubicka wrote: >> >> 2018-08-23 Martin Liska >> >> PR middle-end/59521 >> * predict.c (set_even_probabilities): Add likely_edges >> argument and handle cases where we have precisely one >> likely edge. >> (combine_predictions_for_bb):

Re: Cleanup tree merging

2018-09-03 Thread Richard Biener
On Mon, 3 Sep 2018, Jan Hubicka wrote: > Hi, > while dropping streaming of now unnecesary fields I forgot to update lto.c > side. This patch removes few checks form tree merging that will hopefully > make it bit faster. While doing that I also turned DECL_ASSEMBLER_NAME > check to use

PING: Re: lightweight class to wide int ranges in VRP and friends

2018-09-03 Thread Aldy Hernandez
Forwarded Message Subject: Re: lightweight class to wide int ranges in VRP and friends Date: Fri, 24 Aug 2018 13:40:29 -0400 From: Aldy Hernandez To: Richard Biener CC: GCC Patches On 08/24/2018 06:32 AM, Richard Biener wrote: On Wed, Aug 15, 2018 at 7:31 PM Aldy