[PATCH] Backport r274411 from trunk to gcc-9-branch

2019-08-25 Thread luoxhu
This is the backport patch to gcc-9-branch, please ignore the previous mail. Backport r274411 of "Enable math functions linking with static library for LTO" from mainline to gcc-9-branch. Bootstrapped/Regression-tested on Linux POWER8 LE. gcc/ChangeLog 2019-08-26 Xiong Hu Luo

[PATCH] Enable math functions linking with static library for LTO

2019-08-25 Thread Xiong Hu Luo
From: luoxhu In LTO mode, if static library and dynamic library contains same function and both libraries are passed as arguments, linker will link the function in dynamic library no matter the sequence. This patch will output LTO symbol node as UNDEF if BUILT_IN_NORMAL function FNDECL is a

Re: [PATCH] RISC-V: Add testcase for testing li pseudo instruction

2019-08-25 Thread Kito Cheng
Committed as r274920 On Sat, Aug 24, 2019 at 6:08 AM Jim Wilson wrote: > > On Fri, Aug 23, 2019 at 12:13 AM Kito Cheng wrote: > > gcc/testsuite/ChangeLog: > > gcc.target/riscv/li.c: New test. > > Thanks. This looks good. > > This is incidentally a test for a new binutils patch that

Re: [SVE] PR86753

2019-08-25 Thread Prathamesh Kulkarni
On Fri, 23 Aug 2019 at 19:43, Richard Sandiford wrote: > > Prathamesh Kulkarni writes: > > On Fri, 23 Aug 2019 at 18:15, Richard Sandiford > > wrote: > >> > >> Prathamesh Kulkarni writes: > >> > On Thu, 22 Aug 2019 at 16:44, Richard Biener > >> > wrote: > >> >> It looks a bit odd to me. I'd

Re: [PATCH] builtin fadd variants implementation

2019-08-25 Thread Tejas Joshi
Hello. I have made changes in the patch according to the above corrections. However, I didn't understand how these following testcases are supposed to handle. Will you please elaborate some more? > (E.g. fadd (0x1.01p0, FLT_MIN), as an example from the glibc > tests: cases where an

Re: [C++ PATCH] vfunc overrider simplification

2019-08-25 Thread Jason Merrill
On Sat, Aug 24, 2019 at 6:43 PM Nathan Sidwell wrote: > On 8/23/19 3:24 PM, Nathan Sidwell wrote: > > In fixing a vfunc override bug on the modules branch, I noticed that > > check_for_override can simply check IDENTIFIER_VIRTUAL_P -- the dtor > > identifier and those for conversion operators

Re: [PATCH 2/2] gcc/riscv: Add a mechanism to remove some calls to _riscv_save_0

2019-08-25 Thread Jim Wilson
On Thu, Aug 22, 2019 at 10:59 PM Jim Wilson wrote: > With a rv64gc/lp64d linux toolchain, I get 43 extra gcc failures. For > C++ and Fortran I get a lot of link errors, so the results aren't very > useful. Apparently we never tested this before. >

[libgomp, GSoC'19] Work-stealing task scheduling

2019-08-25 Thread Ray Kim
Hi, This patch implemented work-stealing task scheduling for GSoC'19 final evaluations. Currently there are some issues that needs to be further addressed, however I think it is functional. This that could be improved are as follows: 1. Currently the threads busy wait even when the task queues

Re: [PATCH] Builtin function roundeven folding implementation

2019-08-25 Thread Tejas Joshi
Hi. This is the full patch for roundeven folding. The patch bootstraps and passes regression tests. 2019-08-25 Tejas Joshi Martin Jambor * builtins.c (mathfn_built_in_2): Added CASE_MATHFN_FLOATN for ROUNDEVEN. * builtins.def: Added function definitions

[patch, fortran] Introduce -fallow-argument-mismatch

2019-08-25 Thread Thomas Koenig
Hello world, attached is a patch introducing the -fallow-argument-mismatch option, to separate this from the general kitchen sink -std=legacy. As discussed, this can only be turned off by -w. Regression-tested on powerpc64le-unknown-linux-gnu. Documentation tested by "make dvi" and "make pdf".