Re: [PATCH] i386: Use const reference of struct ix86_frame to avoid copy

2018-01-27 Thread Uros Bizjak
On Sat, Jan 27, 2018 at 12:42 AM, H.J. Lu wrote: > On Thu, Jan 18, 2018 at 12:23 AM, Uros Bizjak wrote: >> On Wed, Jan 17, 2018 at 5:00 PM, H.J. Lu wrote: >>> We can use const reference of struct ix86_frame to avoid making a local >>> copy of ix86_frame. ix86_expand_epilogue makes a local copy

Re: [PATCH] Fix PR84003

2018-01-27 Thread Richard Biener
On Fri, 26 Jan 2018, Richard Biener wrote: > On Fri, 26 Jan 2018, Jakub Jelinek wrote: > > > On Thu, Jan 25, 2018 at 12:18:21PM +0100, Richard Biener wrote: > > > 2018-01-25 Richard Biener > > > > > > PR rtl-optimization/84003 > > > * dse.c (dse_step1): When removing redundant stores make

Re: [PATCH] Avoid creating >= 8GB EXPR_CONSTANT initializers for ilp32 targets (PR fortran/84065)

2018-01-27 Thread Janne Blomqvist
On Sat, Jan 27, 2018 at 1:21 AM, Jakub Jelinek wrote: > Hi! > > resolve_charlen is going to error on ilp32 target charlens above what > can fit into 32-bit signed int, but add_init_expr_to_sym is done before > resolve_charlen, allocating huge amounts of memory in those cases > when we'll error lat

Re: [PATCH] PR fortran/83633 -- check for nonconstant explicit shape array

2018-01-27 Thread Janne Blomqvist
On Sat, Jan 27, 2018 at 1:31 AM, Steve Kargl wrote: > The attached patch implements a check for F2015:C830. > The wording of the F2008:C531 is nearly identical, but > the restriction on BLOCK is noted in the normative test. > The 3 lines in the new testcase show be sufficient to > see the issue.

[Patch, fortran] PR 56691 - [OOP] Allocatable array: wrong offset when passing to CLASS dummy

2018-01-27 Thread Paul Richard Thomas
I am worried that this fix seems to easy by half and so I am posting it for approval, rather than committing it as obvious. I would be obliged if somebody would test it thoroughly. Bootstraps and regtests on FC23/x86_64 - OK for trunk and 7 branch? Paul 2018-27-01 Paul Thomas PR fortran/

[committed, PATCH]: Fix a typo in doc/invoke.texi

2018-01-27 Thread H.J. Lu
Checked into trunk. Will backport to GCC 7 branch. H.J. --- Index: ChangeLog === --- ChangeLog (revision 257123) +++ ChangeLog (working copy) @@ -1,3 +1,8 @@ +2018-01-27 H.J. Lu + + * doc/invoke.texi: Replace -mfunction-

Re: [PATCH, rev2], PR target/81550, Disable PRE_{INC,DEC,MODIFY} for VSX floating point

2018-01-27 Thread Michael Meissner
While we've 'fixed' the loop_align.c test to work with the current compiler, I did some digging into the effects of subversion id 240482, which removed the old debug options -m{,no-}upper-regs{,-df,-di,-sf}. These options controlled whether the DFmode, DImode, and SFmode types could go into the Al

Re: [PATCH] PR fortran/83633 -- check for nonconstant explicit shape array

2018-01-27 Thread Steve Kargl
On Sat, Jan 27, 2018 at 01:03:57PM +0200, Janne Blomqvist wrote: > On Sat, Jan 27, 2018 at 1:31 AM, Steve Kargl > wrote: > > The attached patch implements a check for F2015:C830. > > The wording of the F2008:C531 is nearly identical, but > > the restriction on BLOCK is noted in the normative test.

Re: [PATCH] PR fortran/83633 -- check for nonconstant explicit shape array

2018-01-27 Thread Bernhard Reutner-Fischer
On 27 January 2018 12:03:57 CET, Janne Blomqvist wrote: >On Sat, Jan 27, 2018 at 1:31 AM, Steve Kargl > wrote: >> The attached patch implements a check for F2015:C830. >> The wording of the F2008:C531 is nearly identical, but >> the restriction on BLOCK is noted in the normative test. >> The 3 li

[PATCH] Document --dynamic-list-data option for --coverage usage.

2018-01-27 Thread Martin Liška
Hi. This explains why the option in $subject is needed when one uses dlopen API of a shared library. Ready for trunk? Martin gcc/ChangeLog: 2018-01-26 Martin Liska PR gcov-profile/83879 * doc/gcov.texi: Document necessity of --dynamic-list-data when using dlopen func

[PATCH] i386: Add TARGET_INDIRECT_BRANCH_REGISTER

2018-01-27 Thread H.J. Lu
For --- struct C { virtual ~C(); virtual void f(); }; void f (C *p) { p->f(); p->f(); } --- -mindirect-branch=thunk-extern -O2 on x86-64 GNU/Linux generates: _Z1fP1C: .LFB0: .cfi_startproc pushq %rbx .cfi_def_cfa_offset 16 .cfi_offset 3, -16 mov

libgo patch committed: Update to Go1.10rc1

2018-01-27 Thread Ian Lance Taylor
This patch updates libgo from the Go1.10beta2 release to the Go1.10rc1 release. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline. Ian Index: gcc/go/gofrontend/MERGE === --- gcc/go/gofrontend/MERGE (