Re: [PATCH] rs6000: Save/restore r31 if frame_pointer_needed is true

2020-03-29 Thread Nicholas Krause via Gcc-patches
On 3/30/20 12:18 AM, luoxhu via Gcc-patches wrote: On 2020/3/28 00:04, Segher Boessenkool wrote: Hi! On Fri, Mar 27, 2020 at 09:34:00AM +0800, luoxhu wrote: On 2020/3/27 07:59, Segher Boessenkool wrote: On Wed, Mar 25, 2020 at 11:15:22PM -0500, luo...@linux.ibm.com wrote:

Re: [PATCH] rs6000: Save/restore r31 if frame_pointer_needed is true

2020-03-29 Thread luoxhu via Gcc-patches
On 2020/3/28 00:04, Segher Boessenkool wrote: Hi! On Fri, Mar 27, 2020 at 09:34:00AM +0800, luoxhu wrote: On 2020/3/27 07:59, Segher Boessenkool wrote: On Wed, Mar 25, 2020 at 11:15:22PM -0500, luo...@linux.ibm.com wrote: frame_pointer_needed is set to true in reload pass

Re: [PATCH] rs6000: Don't split constant oprator when add, move to temp register for future optimization

2020-03-29 Thread luoxhu via Gcc-patches
On 2020/3/27 22:33, Segher Boessenkool wrote: > Hi! > > On Thu, Mar 26, 2020 at 05:06:43AM -0500, luo...@linux.ibm.com wrote: >> Remove split code from add3 to allow a later pass to split. >> This allows later logic to hoist out constant load in add instructions. >> In loop, lis+ori could be

Re: [PATCH] doc: Update -falign-functions/-falign-loops/-falign-jumps

2020-03-29 Thread Sandra Loosemore
On 3/28/20 3:34 PM, H.J. Lu via Gcc-patches wrote: Change -falign-functions=N to Align the start of functions to the next power-of-two greater than or equal to N. Add If '-falign-labels' is greater than this value, then its value is used instead. to -falign-loops=N and

[PATCH] Define TRY_EMPTY_VM_SPACE for riscv64-linux

2020-03-29 Thread Andreas Schwab
* config/host-linux.c (TRY_EMPTY_VM_SPACE) [__riscv && __LP64__]: Define. --- gcc/config/host-linux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/host-linux.c b/gcc/config/host-linux.c index ee1d520ede3..26872544130 100644 --- a/gcc/config/host-linux.c +++

[PATCH V2][wwwdocs] Document GNU-stack support added to GCC 10 for MIPS

2020-03-29 Thread Dragan Mladjenovic
diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html index b5cbcebf..1e1eaf43 100644 --- a/htdocs/gcc-10/changes.html +++ b/htdocs/gcc-10/changes.html @@ -692,7 +692,17 @@ a work-in-progress. - + MIPS + +The mips*-*-linux* targets now mark object files with +

Re: [PATCH V3][gcc] libgccjit: introduce version entry points

2020-03-29 Thread Andrea Corallo
David Malcolm writes: > On Wed, 2020-03-18 at 23:51 +0100, Andrea Corallo wrote: > Please add the new test to the header in its alphabetical location, > i.e. between: > > /* test-vector-types.cc: We don't use this, since it's C++. */ > > and > > /* test-volatile.c */ > > An entry also needs

[committed] testsuite: Handle more kinds of gdc.test test flags and directives.

2020-03-29 Thread Iain Buclaw via Gcc-patches
Hi, This is the last of the small QA improvements to the dejagnu test files for running the D2 testsuite. This patch adds cases for JSON and D header file generation flags in the testsuite, and sets up the test accordingly to only compile, then check that the expected output file exists.

New Swedish PO file for 'gcc' (version 10.1-b20200322)

2020-03-29 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 Swedish team of translators. The file is available at: https://translationproject.org/latest/gcc/sv.po (This file,

[committed] testsuite: Move C++ tests in gdc.test into own subdirectory.

2020-03-29 Thread Iain Buclaw via Gcc-patches
Hi, This patch merges the D front-end implementation with dmd upstream 3e10e2dd2. Tests have been moved into runnable_cxx as part of the merge with dmd. The extra flags required for tests that mix C++ and D are now limited to only a small subset of tests, rather than applied to all across

[OBVIOUS][PATCH] Fix typo in a warning related to flatten.

2020-03-29 Thread Martin Liška
Hi. I'm sending a typo fix in the flatten warning. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Thanks, Martin gcc/ChangeLog: 2020-03-29 Martin Liska PR ipa/94363 * cgraphunit.c (process_function_and_variable_attributes): Remove double

Re: [stage1][PATCH] Provide warning for missing jobserver.

2020-03-29 Thread Martin Liška
On 3/29/20 12:51 AM, Martin Sebor wrote: On 3/26/20 3:40 AM, Martin Liška wrote: Hi. I'm suggesting to provide a warning when one uses -flto=jobserver but we can't detect job server for some reason. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed

Re: GCC 8 backports

2020-03-29 Thread Martin Liška
Hi. There's one more patch that I've just tested. Martin >From 0e8def2b6dac1e7e46e6310ded21283914e05748 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 2 Sep 2019 09:06:54 +0200 Subject: [PATCH] Backport 9297e013293e4d332fc7c40859ea4dd9616e0d88 gcc/ChangeLog: 2019-09-02 Martin Liska

[committed][hppa] Remove duplicate .align output

2020-03-29 Thread John David Anglin
This patch removes a bit of extraneous output from .s files. Tested on hppa64-hp-hpux11.11 and hppa-unknown-linux-gnu. Committed to trunk. Dave 2020-03-29 John David Anglin * gcc/config/pa/pa.c (pa_asm_output_aligned_bss): Delete duplicate .align output. diff --git

[committed] testsuite: Split up gdc-test.exp into each subdirectory

2020-03-29 Thread Iain Buclaw via Gcc-patches
Hi, This patch splits up gdc-test.exp into multiple test scipts, one for each subdirectory containing test files, instead of having one test script to manage them all. This allows removing some workarounds, such as the need to create symlinks in the test run directory. Tested on

Re: [Patch, fortran] PR94246 - [9/10 Regression] valgrind error for ./gfortran.dg/bessel_5.f90 since r9-1566-g87c789f1c0b2df41

2020-03-29 Thread H.J. Lu via Gcc-patches
On Sun, Mar 29, 2020 at 5:25 AM H.J. Lu wrote: > > On Thu, Mar 26, 2020 at 4:38 AM Tobias Burnus wrote: > > > > Dear Paul, > > > > OK – thanks for the patch. > > > > Tobias > > > > PS: I assume that the spacing issue in the patch > > is due to the mail program. > > > > On 3/26/20 12:20 PM, Paul

Re: [Patch, fortran] PR94246 - [9/10 Regression] valgrind error for ./gfortran.dg/bessel_5.f90 since r9-1566-g87c789f1c0b2df41

2020-03-29 Thread H.J. Lu via Gcc-patches
On Thu, Mar 26, 2020 at 4:38 AM Tobias Burnus wrote: > > Dear Paul, > > OK – thanks for the patch. > > Tobias > > PS: I assume that the spacing issue in the patch > is due to the mail program. > > On 3/26/20 12:20 PM, Paul Richard Thomas via Fortran wrote: > > > This turned out to be relatively

Re: [PATCH] calls.c precompute_register_parameters for TLS

2020-03-29 Thread Richard Sandiford
David Edelsohn writes: > On Sat, Mar 28, 2020 at 6:42 AM Richard Sandiford > wrote: >> >> David Edelsohn via Gcc-patches writes: >> > This patch is for an AIX problem, but the only robust solution is in >> > common code: calls.c:precompute_register_parameters(). >> > >> > AIX, like other

[PATCH] c++: Fix handling of internal fn calls in statement expressions [PR94385]

2020-03-29 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs, because the FE when processing the statement expression changes the .VEC_CONVERT internal fn CALL_EXPR into .PHI call. That is because the internal fn call is recorded in the base.u.ifn field, which overlaps base.u.bits.lang_flag_1 which is used for