Re: C++ PATCH for P1152R4: Deprecating some uses of volatile (PR c++/91361)

2019-08-28 Thread Jason Merrill
OK. On Wed, Aug 28, 2019 at 7:56 PM Marek Polacek wrote: > > On Wed, Aug 28, 2019 at 04:08:39PM -0400, Jason Merrill wrote: > > On 8/26/19 1:46 PM, Marek Polacek wrote: > > > +Wvolatile > > > +C++ ObjC++ Var(warn_volatile) Warning > > > +Warn about certain uses of volatile qualifier. > > > >

PR78736

2019-08-28 Thread Prathamesh Kulkarni
Hi, This is a rebased patch on trunk for PR78736. The last time, it got stuck, because of warning issues with libgfortran, for which I filed PR91593. The patch relegates the warning to Wextra instead, which only triggers (non-fatal) warnings in libgfortran/io/transfer.c, and survives

Re: C++ PATCH for P1152R4: Deprecating some uses of volatile (PR c++/91361)

2019-08-28 Thread Marek Polacek
On Wed, Aug 28, 2019 at 04:08:39PM -0400, Jason Merrill wrote: > On 8/26/19 1:46 PM, Marek Polacek wrote: > > +Wvolatile > > +C++ ObjC++ Var(warn_volatile) Warning > > +Warn about certain uses of volatile qualifier. > > Maybe "deprecated uses"? Ok, changed. > > --- gcc/cp/expr.c > > +++

[PATCH V5 10/11] bpf: manual updates for eBPF

2019-08-28 Thread Jose E. Marchesi
gcc/ChangeLog: * doc/invoke.texi (Option Summary): Cover eBPF. (eBPF Options): New section. * doc/extend.texi (BPF Built-in Functions): Likewise. (BPF Kernel Helpers): Likewise. --- gcc/ChangeLog | 7 +++ gcc/doc/extend.texi | 171

Re: [PATCH, V3, #2 of 10], Improve rs6000_setup_addr_mask

2019-08-28 Thread Segher Boessenkool
Hi! Thanks for splitting things out, that makes it easier to understand. On Mon, Aug 26, 2019 at 04:10:22PM -0400, Michael Meissner wrote: > This code attempts to make this clearer by moving the settings for > GPRs, FPRs, and traditional Altivec registers to separate functions. They are called

[PATCH V5 10/11] bpf: manual updates for eBPF

2019-08-28 Thread Jose E. Marchesi
gcc/ChangeLog: * doc/invoke.texi (Option Summary): Cover eBPF. (eBPF Options): New section. * doc/extend.texi (BPF Built-in Functions): Likewise. (BPF Kernel Helpers): Likewise. --- gcc/ChangeLog | 7 +++ gcc/doc/extend.texi | 171

[PATCH V5 05/11] bpf: new GCC port

2019-08-28 Thread Jose E. Marchesi
This patch adds a port for the Linux kernel eBPF architecture to GCC. ChangeLog: * configure.ac: Support for bpf-*-* targets. * configure: Regenerate. contrib/ChangeLog: * config-list.mk (LIST): Disable go in bpf-*-* targets. gcc/ChangeLog: * config.gcc: Support for bpf-*-*

[PATCH V5 04/11] testsuite: new require effective target indirect_calls

2019-08-28 Thread Jose E. Marchesi
This patch adds a new dg_require_effective_target procedure to the testsuite infrastructure: indirect_calls. This new function tells whether a target supports calls to non-constant call targets. This patch also annotates the tests in the gcc.c-torture testuite that require support for indirect

[PATCH V5 07/11] bpf: gcc.target eBPF testsuite

2019-08-28 Thread Jose E. Marchesi
This patch adds a new testsuite to gcc.target, with eBPF specific tests. Tests are included for: - Target specific diagnostics. - All built-in functions. testsuite/ChangeLog: * gcc.target/bpf/bpf.exp: New file. * gcc.target/bpf/builtin-load.c: Likewise. *

[PATCH V5 02/11] opt-functions.awk: fix comparison of limit, begin and end

2019-08-28 Thread Jose E. Marchesi
The function integer_range_info makes sure that, if provided, the initial value fills in the especified range. However, it is necessary to convert the values to a numerical context before comparing, to make sure awk is using arithmetical order and not lexicographical order. gcc/ChangeLog:

[PATCH V5 06/11] bpf: new libgcc port

2019-08-28 Thread Jose E. Marchesi
This patch adds an eBPF port to libgcc. As of today, compiled eBPF programs do not support a single-entry point schema. Instead, a BPF "executable" is a relocatable ELF object file containing multiple entry points, in certain named sections. Also, the BPF loaders in the kernel do not execute

[PATCH V5 11/11] bpf: add myself as the maintainer for the eBPF port

2019-08-28 Thread Jose E. Marchesi
ChangeLog: * MAINTAINERS: Add myself as the maintainer of the eBPF port. Remove myself from Write After Approval section. --- ChangeLog | 5 + MAINTAINERS | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH V5 01/11] Update config.sub and config.guess.

2019-08-28 Thread Jose E. Marchesi
* config.sub: Import upstream version 2019-06-30. * config.guess: Import upstream version 2019-07-24. --- ChangeLog| 5 ++ config.guess | 264 +++ config.sub | 50 +-- 3 files changed, 240 insertions(+), 79

[PATCH V5 00/11] eBPF support for GCC

2019-08-28 Thread Jose E. Marchesi
[Differences from V4: . Use only two register classes: NO_REGS and ALL_REGS. . Keep same handling of special cases Init="" and Init="-1" in integer_range_info. . Skip tests pr70061.c and pr39928-1.c, which are now (correctly) failing due to the fixed bpf_function_arg_advance. . Fix constraint

[PATCH V5 08/11] bpf: make target-supports.exp aware of eBPF

2019-08-28 Thread Jose E. Marchesi
This patch makes the several effective target checks in target-supports.exp to be aware of eBPF targets. gcc/testsuite/ChangeLog: * lib/target-supports.exp (check_effective_target_trampolines): Adapt to eBPF. (check_effective_target_stack_size): Likewise.

[PATCH V5 09/11] bpf: adjust GCC testsuite to eBPF limitations

2019-08-28 Thread Jose E. Marchesi
This patch makes many tests in gcc.dg and gcc.c-torture to be skipped in bpf-*-* targets. This is due to the many limitations imposed by eBPF to what would be perfectly valid C code: no support for more than 5 arguments to function calls, no support for indirect jumps, a very limited range for

[PATCH V5 03/11] testsuite: annotate c-torture/compile tests with dg-require-stack-size

2019-08-28 Thread Jose E. Marchesi
This patch annotates tests that make use of a significant a mount of stack space. Embedded and other restricted targets may have problems compiling and running these tests. Note that the annotations are in many cases not exact. testsuite/ChangeLog: * gcc.c-torture/compile/2609-1.c:

Re: [PATCH] Sanitizing the middle-end interface to the back-end for strict alignment

2019-08-28 Thread Bernd Edlinger
On 8/28/19 2:07 PM, Christophe Lyon wrote: > Hi, > > This patch causes an ICE when building libgcc's unwind-arm.o > when configuring GCC: > --target arm-none-linux-gnueabihf --with-mode thumb --with-cpu > cortex-a15 --with-fpu neon-vfpv4: > > The build works for the same target, but --with-mode

Re: [PATCH, V3, #7 of 10], Implement PCREL_OPT relocation optimization

2019-08-28 Thread Michael Meissner
Note, there is a minor error in this patch. However, since I will need to create V4 patches shortly, I will fix the bug in those patches. -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meiss...@linux.ibm.com, phone: +1 (978) 899-4797

Re: [PATCH V3, #1 of 10], Add basic pc-relative support

2019-08-28 Thread Michael Meissner
On Wed, Aug 28, 2019 at 12:14:58PM -0500, Segher Boessenkool wrote: > Hi Mike, > > On Mon, Aug 26, 2019 at 03:54:14PM -0400, Michael Meissner wrote: > > @@ -1626,8 +1626,8 @@ (define_predicate "small_toc_ref" > >return GET_CODE (op) == UNSPEC && XINT (op, 1) == UNSPEC_TOCREL; > > }) > > >

[PATCH] Update ABI baselines for x86 and powerpc GNU targets

2019-08-28 Thread Jonathan Wakely
* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update. * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update. * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update. * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.

Re: [PATCH] fold more string comparison with known result (PR 90879)

2019-08-28 Thread Martin Sebor
On 8/22/19 3:31 PM, Jeff Law wrote: On 8/20/19 8:10 PM, Martin Sebor wrote: Jeff, Please let me know if you agree/disagree and what I need to do to advance this work:   https://gcc.gnu.org/ml/gcc-patches/2019-08/msg00643.html For the official record, I agree :-) Great! :) Any

Re: C++ PATCH to implement C++20 P1143R2, constinit (PR c++/91360)

2019-08-28 Thread Marek Polacek
On Wed, Aug 28, 2019 at 04:15:54PM -0400, Jason Merrill wrote: > OK, thanks. Thanks! I've now updated wwwdocs: Index: gcc-10/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-10/changes.html,v retrieving revision 1.11 diff -u

libgo patch committed: Move osinit code to Go

2019-08-28 Thread Ian Lance Taylor
This libgo patch moves the osinit code to Go. This is a step toward updating libgo to 1.13. This adds the 1.13 version of the osinit function to Go code, and removes the corresponding code from the C runtime. This should simplify future updates. Some additional 1.13 code was brought in to

Re: [PATCH] Use cxx_printable_name for __PRETTY_FUNCTION__ in cp_fname_init.

2019-08-28 Thread Jason Merrill
On 8/28/19 12:29 PM, Martin Liška wrote: The patch restores behavior before r265711 where we used cxx_printable_name for __PRETTY_FUNCTION__. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/c-family/ChangeLog: 2019-08-27 

Re: C++ PATCH to implement C++20 P1143R2, constinit (PR c++/91360)

2019-08-28 Thread Jason Merrill
On 8/27/19 11:24 AM, Marek Polacek wrote: On Fri, Aug 23, 2019 at 03:10:37PM -0700, Jason Merrill wrote: +/* True if DECL is declared 'constinit'. */ +#define DECL_DECLARED_CONSTINIT_P(DECL) \ + DECL_LANG_FLAG_0 (VAR_DECL_CHECK (STRIP_TEMPLATE (DECL))) Hmm, given that 'constinit' only

Re: [C++ Patch] Improve check_var_type locations

2019-08-28 Thread Jason Merrill
On 8/27/19 4:09 AM, Paolo Carlini wrote: Hi, by adding a location_t parameter we can improve the locations of the error messages. At the moment the locations of the first and third message end up being input_location anyway, but we can imagine improving those later (this a much more general

Re: C++ PATCH for P1152R4: Deprecating some uses of volatile (PR c++/91361)

2019-08-28 Thread Jason Merrill
On 8/26/19 1:46 PM, Marek Polacek wrote: On Fri, Aug 23, 2019 at 07:39:57PM -0400, Marek Polacek wrote: On Fri, Aug 23, 2019 at 02:43:42PM -0700, Jason Merrill wrote: On 8/23/19 9:32 AM, Marek Polacek wrote: This patch implements another C++20 feature, partially deprecating volatile. You can

Re: [PR fortran/91496] !GCC$ directives error if mistyped or unknown

2019-08-28 Thread Harald Anlauf
Hi Bernhard, On 08/28/19 20:57, Bernhard Reutner-Fischer wrote: > I see that you copied the unfortunate error-message "commence a loop" > and i see that i completely forgot to adjust it as per Mike's > preference in > https://gcc.gnu.org/ml/fortran/2015-05/msg00166.html > > So can you please

[PATCH][OBVIOUS] Add .clangd and compile_commands.json to .gitignore.

2019-08-28 Thread Martin Liška
Hi. These 2 files are used for clangd. I'm going to install the patch. Martin ChangeLog: 2019-08-28 Martin Liska * .gitignore: Add .clangd and compile_commands.json to .gitignore. --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore

[PATCH] Use cxx_printable_name for __PRETTY_FUNCTION__ in cp_fname_init.

2019-08-28 Thread Martin Liška
Hi. The patch restores behavior before r265711 where we used cxx_printable_name for __PRETTY_FUNCTION__. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/c-family/ChangeLog: 2019-08-27 Martin Liska PR c++/91155

Re: [patch, fortan] PR87103 - [OOP] ICE in gfc_new_symbol() due to overlong symbol name

2019-08-28 Thread Andrew Benson
Thanks Bernhard. On Wednesday, August 28, 2019 9:00:36 PM PDT Bernhard Reutner-Fischer wrote: > On Fri, 23 Aug 2019 17:17:37 -0700 > > Andrew Benson wrote: > > This PR is still open - I re-tested the patch on the current trunk. The > > patch still applies with some line offsets (I've attached

Re: [patch, fortan] PR87103 - [OOP] ICE in gfc_new_symbol() due to overlong symbol name

2019-08-28 Thread Bernhard Reutner-Fischer
On Fri, 23 Aug 2019 17:17:37 -0700 Andrew Benson wrote: > This PR is still open - I re-tested the patch on the current trunk. The patch > still applies with some line offsets (I've attached the updated patch) and > regtests cleanly. It would be very helpful to me to get this patch committed >

Re: [PR fortran/91496] !GCC$ directives error if mistyped or unknown

2019-08-28 Thread Bernhard Reutner-Fischer
On Tue, 27 Aug 2019 21:49:38 +0200 Harald Anlauf wrote: > Committed to trunk as svn revision 274966, after removing some > accidentally left-over unused variable declarations (copy). > The actual committed version is attached. > > Thanks, Paul, for the quick review! > > Unless there are strong

Go patch committed: Handle unsafe conversions in escape analysis

2019-08-28 Thread Ian Lance Taylor
This patch to the Go frontend by Cherry Zhang handles unsafe conversion expression in escape analysis. Previously escape analysis never saw these, but now it does for the case of a map assignment. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline. Ian Index:

[Preprocessor] small cleanups

2019-08-28 Thread Nathan Sidwell
From the modules branch, here are some cleanups inspired by changes I've made there. 1) directive handling gets a bool arg, not a 0/1 int 2) documented the enumerators of an enum 3) make a bunch of structure flags 1-bit bools. applying to trunk. nathan -- Nathan Sidwell 2019-08-28 Nathan

Go patch committed: Provide index information on bounds check failure

2019-08-28 Thread Ian Lance Taylor
This patch to the Go frontend and libgo changes the panic message reported for an out of bounds index or slice operation to include the invalid values. This makes it easier for the user to see what the problem is. This implements https://golang.org/cl/161477 in the gofrontend, for

Re: [PR c++/90613] Fix using-decl debug bloat

2019-08-28 Thread Jason Merrill
On Wed, Aug 28, 2019 at 9:35 AM Nathan Sidwell wrote: > > My patch reorganizing using decl handling caused a regression in the > size of debug information. The culprit was that we were passing an > overload set when previously we'd pass a single decl. And that broke an > elision test. > > Fixed

Re: [PATCH V3, #1 of 10], Add basic pc-relative support

2019-08-28 Thread Segher Boessenkool
Hi Mike, On Mon, Aug 26, 2019 at 03:54:14PM -0400, Michael Meissner wrote: > @@ -1626,8 +1626,8 @@ (define_predicate "small_toc_ref" >return GET_CODE (op) == UNSPEC && XINT (op, 1) == UNSPEC_TOCREL; > }) > > -;; Return true if the operand is a pc-relative address. > -(define_predicate

Re: [PATCH] issue consistent warning for past-the-end array stores (PR 91457)

2019-08-28 Thread Jeff Law
On 8/28/19 9:44 AM, Martin Sebor wrote: > With the PR 91490 subset committed, attached is what's left > of the original fix.  It seems simple enough that I decided it's > not worth chopping up any further.  The meat of the change is in > builtins.c.  Everything else just adjusts warnings either by

Re: [PATCH] issue consistent warning for past-the-end array stores (PR 91457)

2019-08-28 Thread Martin Sebor
With the PR 91490 subset committed, attached is what's left of the original fix. It seems simple enough that I decided it's not worth chopping up any further. The meat of the change is in builtins.c. Everything else just adjusts warnings either by making use of it (tree-ssa-strlen.c) or by

[PATCH] correct checking of language options (PR 80545)

2019-08-28 Thread Martin Sebor
The patch for PR 80545 I committed sometime ago in r273771 needs an additional tweak to be fully effective. Besides a thinko (using a bitwise OR instead of an AND) it doesn't handle common options. Attached is this tweak, retested on x86_64-linux. I will go ahead and commit it shortly. Martin

Re: [PATCH] Simplify and generalize rust-demangle's unescaping logic.

2019-08-28 Thread Eduard-Mihai Burtescu
Could you, or someone else, commit this for me (as I have no commit access)? Thanks. On Mon, Aug 26, 2019, at 11:04 PM, Ian Lance Taylor wrote: > On Wed, Aug 14, 2019 at 10:24 AM Eduard-Mihai Burtescu wrote: > > > > Previously, rust-demangle.c was special-casing a fixed number > > of '$uXY$'

[PATCH, i386]: Improve STV conversion of shifts

2019-08-28 Thread Uros Bizjak
Attached patch improves costing for STV shifts and corrects reject condition for out of range shift count operands. 2019-08-28 Uroš Bizjak * config/i386/i386-features.c (general_scalar_chain::compute_convert_gain): Correct cost for double-word shifts.

Re: [PATCH V4 05/11] bpf: new GCC port

2019-08-28 Thread Jose E. Marchesi
+(define_insn "zero_extendsidi2" + [(set (match_operand:DI 0 "register_operand" "=r,r") + (zero_extend:DI + (match_operand:SI 1 "reg_or_memory_operand" "0,m")))] + "" + "@ + mov32\t%0,%1 + ldxw\t%0,%1" + [(set_attr "type" "alu,ldx")]) Auto

Re: [PATCH V4 00/11] eBPF support for GCC

2019-08-28 Thread Jose E. Marchesi
> [Differences from V3: > . Formatting/style fixes: > + Remove redundant braces. > + Remove unneeded ATTRIBUTE_UNUSED. > + Truncate too long lines. > + Remove an odd line split. > + Do not break after returns. > + Use function_arg_info methods instead

Re: [PATCH] Fix PR91522

2019-08-28 Thread Uros Bizjak
On Wed, Aug 28, 2019 at 3:54 PM Richard Biener wrote: > > >>> 2019-08-23 Richard Biener > > >>> > > >>> PR target/91522 > > >>> PR target/91527 > > >>> * config/i386/i386-features.h (general_scalar_chain::defs_map): > > >>> New member. > > >>>

Re: [PATCH resend 1/2] PR c/65403 - Ignore -Wno-error=

2019-08-28 Thread Martin Sebor
On 8/26/19 6:24 AM, Martin Liška wrote: On 8/23/19 6:52 PM, Alex Henrie wrote: On Fri, Aug 23, 2019 at 3:13 AM Martin Liška wrote: On 8/23/19 6:17 AM, Alex Henrie wrote: +vec ignored_wnoerror_options; Here you'll need to add a comment. The declaration of ignored_options in opts-global.c

Re: [PATCH] Fix PR91522

2019-08-28 Thread Richard Biener
On Wed, 28 Aug 2019, Iain Sandoe wrote: > > > > > On 26 Aug 2019, at 11:06, Uros Bizjak wrote: > > > > On Mon, Aug 26, 2019 at 10:40 AM Richard Biener wrote: > >> > >> On Fri, 23 Aug 2019, Richard Biener wrote: > >> > >>> On Fri, 23 Aug 2019, Richard Biener wrote: > >>> > On Fri, 23

Re: [PATCH] Fix PR91568

2019-08-28 Thread Richard Sandiford
Richard Biener writes: > When making the SLP tree a graph I messed up and in some cases we can > fail to propagate a higher max_nunits upwards when re-using a subtree. > For the testcase, but only on the gcc-9-branch, this causes us to > miss a higher value of 4 completely since it comes from a >

Re: [PATCH][ARM] Cleanup logical DImode operations

2019-08-28 Thread Wilco Dijkstra
Hi Christophe, > After this was committed (r274823), I've noticed 2 regressions on arm*: > FAIL: gcc.target/arm/pr53447-5.c scan-assembler-times (ldrd|vldr\\.64) 20 > FAIL: gcc.target/arm/pr53447-5.c scan-assembler-times (strd|vstr\\.64) 18 > > Does this test still pass for you? You're right,

[PR c++/90613] Fix using-decl debug bloat

2019-08-28 Thread Nathan Sidwell
My patch reorganizing using decl handling caused a regression in the size of debug information. The culprit was that we were passing an overload set when previously we'd pass a single decl. And that broke an elision test. Fixed by moving that test into the iteration of the overload set.

Re: [PATCH] Fix PR91522

2019-08-28 Thread Iain Sandoe
> On 26 Aug 2019, at 11:06, Uros Bizjak wrote: > > On Mon, Aug 26, 2019 at 10:40 AM Richard Biener wrote: >> >> On Fri, 23 Aug 2019, Richard Biener wrote: >> >>> On Fri, 23 Aug 2019, Richard Biener wrote: >>> On Fri, 23 Aug 2019, Uros Bizjak wrote: > On Thu, Aug 22, 2019

Re: [PATCH] Sanitizing the middle-end interface to the back-end for strict alignment

2019-08-28 Thread Christophe Lyon
On Wed, 28 Aug 2019 at 11:42, Kyrill Tkachov wrote: > > > On 8/28/19 10:38 AM, Bernd Edlinger wrote: > > On 8/27/19 11:25 AM, Kyrill Tkachov wrote: > >> Hi Bernd, > >> > >> On 8/15/19 8:47 PM, Bernd Edlinger wrote: > >>> Hi, > >>> > >>> this is the split out part from the "Fix not 8-byte aligned

Re: [PATCH V3 05/11] bpf: new GCC port

2019-08-28 Thread Jose E. Marchesi
> jemarch@termi:~/gnu/src/gcc-git/build-bpf/gcc$ PATH=.:$PATH ./xgcc -O2 -c /home/jemarch/gnu/src/gcc-git/gcc/testsuite/gcc.c-torture/compile/pr39928-2.c > during RTL pass: ira > /home/jemarch/gnu/src/gcc-git/gcc/testsuite/gcc.c-torture/compile/pr39928-2.c: In function ‘vq_nbest’:

Re: [PR 91468] Small fixes in ipa-cp.c and ipa-prop.c

2019-08-28 Thread Richard Biener
On Tue, Aug 27, 2019 at 3:15 PM Martin Jambor wrote: > > Hi, > > Feng Xue read through much of ipa-cp.c and ipa-prop.c and reported a few > redundancies and small errors in PR 91468. The patch below fixes all of > them, specifically: > > 1) A typo in ipcp_modif_dom_walker::before_dom_children

Re: [PATCH V4 02/11] opt-functions.awk: fix comparison of limit, begin and end

2019-08-28 Thread Jose E. Marchesi
> function integer_range_info(range_option, init, option) > { > if (range_option != "") { > - start = nth_arg(0, range_option); > - end = nth_arg(1, range_option); > + init = init + 0; > + start = nth_arg(0, range_option) + 0; > +

[PATCH] Fix PR91568

2019-08-28 Thread Richard Biener
When making the SLP tree a graph I messed up and in some cases we can fail to propagate a higher max_nunits upwards when re-using a subtree. For the testcase, but only on the gcc-9-branch, this causes us to miss a higher value of 4 completely since it comes from a single widening stmt which we

Re: [PATCH] Add vec_sh{l,r}_v4sf (PR libgomp/91530)

2019-08-28 Thread Uros Bizjak
On Wed, Aug 28, 2019 at 8:45 AM Jakub Jelinek wrote: > > Hi! > > The following two testcases FAIL to be vectorized, because SSE2 doesn't have > many permutation instructions and the one that actually works (whole vector > shifts) aren't enabled for the V4SFmode. > > The following patch fixes it

Re: [PATCH] Sanitizing the middle-end interface to the back-end for strict alignment

2019-08-28 Thread Kyrill Tkachov
On 8/28/19 10:38 AM, Bernd Edlinger wrote: On 8/27/19 11:25 AM, Kyrill Tkachov wrote: Hi Bernd, On 8/15/19 8:47 PM, Bernd Edlinger wrote: Hi, this is the split out part from the "Fix not 8-byte aligned ldrd/strd on ARMv5 (PR 89544)" which is sanitizing the middle-end interface to the

Re: [PATCH] Sanitizing the middle-end interface to the back-end for strict alignment

2019-08-28 Thread Bernd Edlinger
On 8/27/19 11:25 AM, Kyrill Tkachov wrote: > Hi Bernd, > > On 8/15/19 8:47 PM, Bernd Edlinger wrote: >> Hi, >> >> this is the split out part from the "Fix not 8-byte aligned ldrd/strd on >> ARMv5 (PR 89544)" >> which is sanitizing the middle-end interface to the back-end for strict >>

Re: [PATCH] Remove MD problem from STV

2019-08-28 Thread Uros Bizjak
On Wed, Aug 28, 2019 at 10:14 AM Richard Biener wrote: > > > STV is interested in DU/UD chains only but for some reason > (since first patch submission) adds MD. I can't make any sense > of this and in fact I miss the difference between RD and MD. > The only other user of MD is fwprop which says

Re: [RFC] [AARCH64] Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2019-08-28 Thread Shaokun Zhang
Hi Kyrill, On 2019/8/28 16:57, Kyrill Tkachov wrote: > Hi Shaokun, > > On 8/28/19 9:47 AM, Shaokun Zhang wrote: >> Hi Kyrill, >> >> On 2019/8/27 18:16, Kyrill Tkachov wrote: >>> Hi Shaokun, >>> >>> On 8/22/19 3:10 PM, Shaokun Zhang wrote: The DCache clean & ICache invalidation requirements

Re: [SVE] PR86753

2019-08-28 Thread Richard Sandiford
Prathamesh Kulkarni writes: > On Tue, 27 Aug 2019 at 21:14, Richard Sandiford > wrote: >> >> Richard should have the final say, but some comments... >> >> Prathamesh Kulkarni writes: >> > diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c >> > index 1e2dfe5d22d..862206b3256 100644 >> >

Re: [RFC] [AARCH64] Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2019-08-28 Thread Kyrill Tkachov
Hi Shaokun, On 8/28/19 9:47 AM, Shaokun Zhang wrote: Hi Kyrill, On 2019/8/27 18:16, Kyrill Tkachov wrote: Hi Shaokun, On 8/22/19 3:10 PM, Shaokun Zhang wrote: The DCache clean & ICache invalidation requirements for instructions to be data coherence are discoverable through new fields in

Re: [RFC] [AARCH64] Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2019-08-28 Thread Shaokun Zhang
Hi Kyrill, On 2019/8/27 18:16, Kyrill Tkachov wrote: > Hi Shaokun, > > On 8/22/19 3:10 PM, Shaokun Zhang wrote: >> The DCache clean & ICache invalidation requirements for instructions >> to be data coherence are discoverable through new fields in CTR_EL0. >> Let's support the two bits if they

[PATCH] Remove MD problem from STV

2019-08-28 Thread Richard Biener
STV is interested in DU/UD chains only but for some reason (since first patch submission) adds MD. I can't make any sense of this and in fact I miss the difference between RD and MD. The only other user of MD is fwprop which says /* We use the multiple definitions problem to compute our

Re: [PATCH V4 00/11] eBPF support for GCC

2019-08-28 Thread Richard Sandiford
"Jose E. Marchesi" writes: > [Differences from V3: > . Formatting/style fixes: > + Remove redundant braces. > + Remove unneeded ATTRIBUTE_UNUSED. > + Truncate too long lines. > + Remove an odd line split. > + Do not break after returns. > + Use function_arg_info methods instead of

Re: [PATCH V3 05/11] bpf: new GCC port

2019-08-28 Thread Richard Sandiford
jose.march...@oracle.com (Jose E. Marchesi) writes: > > +(define_expand "zero_extendsidi2" > > + [(set (match_operand:DI 0 "register_operand") > > + (zero_extend:DI (match_operand:SI 1 > "reg_or_indirect_memory_operand")))] > > + "" > > +{ > > +

New Spanish PO file for 'gcc' (version 9.1.0)

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

Re: [PATCH/RFC] Simplify wrapped RTL op

2019-08-28 Thread Segher Boessenkool
On Wed, Aug 28, 2019 at 02:05:58AM -0500, Segher Boessenkool wrote: > On Tue, Aug 27, 2019 at 05:09:52AM -0500, Segher Boessenkool wrote: > > On Tue, Aug 27, 2019 at 11:12:32AM +0200, Robin Dapp wrote: > > > as announced in the wrapped-binop gimple patch mail, on s390 we still > > > emit odd code

Re: [PATCH] PR fortran/91565 -- Extra checks on ORDER

2019-08-28 Thread Janne Blomqvist
On Wed, Aug 28, 2019 at 1:01 AM Steve Kargl wrote: > > The attached ptch implements additional checks on the > ORDER dummy argument for the RESHAPE intrinsic function. > Built and regression tested on x86_64-*-freebsd. OK to > commit? Ok. -- Janne Blomqvist

Re: [PATCH/RFC] Simplify wrapped RTL op

2019-08-28 Thread Segher Boessenkool
On Tue, Aug 27, 2019 at 05:09:52AM -0500, Segher Boessenkool wrote: > On Tue, Aug 27, 2019 at 11:12:32AM +0200, Robin Dapp wrote: > > as announced in the wrapped-binop gimple patch mail, on s390 we still > > emit odd code in front of loops: > > >aghi%r1,-8 > >srlg%r1,%r1,3 > >

Re: [PATCH] PR fortran/91564 -- Additonal checks on STATUS

2019-08-28 Thread Janne Blomqvist
On Wed, Aug 28, 2019 at 3:37 AM Steve Kargl wrote: > > The attached patch has been built and tested on x86_64-*-freebsd. > It adds additional checks for the status dummy argument, and > therby prevents an ICE. OK to commit? Ok. -- Janne Blomqvist

[PATCH] Add vec_sh{l,r}_v4sf (PR libgomp/91530)

2019-08-28 Thread Jakub Jelinek
Hi! The following two testcases FAIL to be vectorized, because SSE2 doesn't have many permutation instructions and the one that actually works (whole vector shifts) aren't enabled for the V4SFmode. The following patch fixes it by enabling those optabs also for V4SFmode (and V2DFmode). Strictly