[PATCH libgfortran] PR84412 [7/8 Regression] Erroneous "Inquire statement identifies an internal file" error

2018-02-17 Thread Jerry DeLisle
Hi all, The following patch is trivial and I plan to commit in the next day or so to trunk and gcc 7. Regression tested on x86_64-pc-gnu-linux. Regards, Jerry 2018-02-18 Jerry DeLisle PR libgfortran/84412 * io/transfer.c (finalize_transfer): After completing an

[PATCH v2] RISC-V: Support for FreeBSD

2018-02-17 Thread Kito Cheng
Hi all: This patch is version 2 of FreeBSD supporting for RISC-V, Ruslan (RISC-V FreeBSD maintainer) and me has been tested on FreeBSD 12 for building kernel and whole user space programs/libraries again :) Hi Jim: Ruslan and me just decide upstream GCC part only this time since binutils need m

Re: [ patch, testsuite, fortran] Replace "call abort" by "stop n"

2018-02-17 Thread Thomas Koenig
Hi Janus, Regarding "-fall-intrinsics": Your commit has greatly reduced its usage, but I still see a few cases that you left in, although the flag does not really seem to be required. Is there a reason why did not treat these? I was specifically chaning those cases which contained STOP [1-9]

Re: [PATCH] gold: Use autotools pthread macro

2018-02-17 Thread Cary Coutant
> The autotools library macro (AX_PTHREAD) is now used to detect if > pthreads is present and multi-threaded linking in gold is automatically > enabled if it is found. This enables multi-threaded gold on platforms > where pthreads is enabled via other methods than just -lpthread (e.g. > MinGW) > >

Re: [ patch, testsuite, fortran] Replace "call abort" by "stop n"

2018-02-17 Thread Janus Weil
Hi Thomas, >> as a result of this, you should be able to remove the vast majority of >> -fall-intrinsics extra options. Please do that as well. > > > Done, in r257782. Regarding "-fall-intrinsics": Your commit has greatly reduced its usage, but I still see a few cases that you left in, although t

Re: RFC (DECL_CONSTRUCTOR_P): C++ PATCH for c++/83911, ICE with multiversioned constructor

2018-02-17 Thread Nathan Sidwell
On 02/16/2018 05:48 PM, Jason Merrill wrote: We hit the bug in this testcase because build_over_call replaces the constructor with a dispatcher function, and then build_aggr_init_expr doesn't recognize it as a constructor. Messing with the DECL_NAME of the dispatcher seems messy, but copying the

Re: [PATCH] Fix bootstrap with GCC 3.4 (and likely anything < 4.4 except 4.2.[0-3]) (PR bootstrap/84405)

2018-02-17 Thread Richard Biener
On February 16, 2018 9:44:33 PM GMT+01:00, Jakub Jelinek wrote: >On Fri, Feb 16, 2018 at 09:25:30PM +0100, Richard Biener wrote: >> But the broken compilers will overwrite the memset data with possibly >uninitialized fields of a TARGET_EXPR. > >Perhaps for hash-table.h we could use: >#ifndef BRO

Re: *ping* [patch, fortran] Fix handling of assumed-size arrays in inline matmul

2018-02-17 Thread Jerry DeLisle
On 02/17/2018 06:22 AM, Thomas Koenig wrote: Am 12.02.2018 um 11:46 schrieb Thomas Koenig: Hello world, the attached patch fixes a regression where a rejects-valid would be issued. OK for the affected branches, trunk and gcc-7? PING ** (5.D0/7.D0) ? Yes, OK Jerry

Re: [PATCH v3 1/14] D: The front-end (DMD) language implementation and license.

2018-02-17 Thread Iain Buclaw
On 25 October 2017 at 03:06, Jeff Law wrote: > On 10/18/2017 01:33 AM, Iain Buclaw wrote: >> On 6 October 2017 at 14:51, Ian Lance Taylor wrote: >>> On Fri, Oct 6, 2017 at 1:34 AM, Iain Buclaw wrote: Out of curiosity, I did have a look at some of the tops of gofrontend sources thi

*ping* [patch, fortran] Fix handling of assumed-size arrays in inline matmul

2018-02-17 Thread Thomas Koenig
Am 12.02.2018 um 11:46 schrieb Thomas Koenig: Hello world, the attached patch fixes a regression where a rejects-valid would be issued. OK for the affected branches, trunk and gcc-7? PING ** (5.D0/7.D0) ?

Re: [ patch, testsuite, fortran] Replace "call abort" by "stop n"

2018-02-17 Thread Thomas Koenig
Am 16.02.2018 um 09:11 schrieb Janne Blomqvist: as a result of this, you should be able to remove the vast majority of -fall-intrinsics extra options. Please do that as well. Done, in r257782. I actually liked the usage of "call abort" in testcases, as a failing testcase provided a backtrace

Re: [Patch, fortran] PR84115] [8 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'indirect_ref' in add_decl_as_local, at fortran/trans-decl.c:256

2018-02-17 Thread Paul Richard Thomas
Thanks. Committed as revision 257781. Paul On 16 February 2018 at 15:21, Steve Kargl wrote: > On Fri, Feb 16, 2018 at 07:07:53AM +, Paul Richard Thomas wrote: >> > Oddly, the failing test in associate_35.f90 is the only one that works >> > in 7-branch. I have left the PR open and changed the

Re: [PATCH] Fix bootstrap with GCC 3.4 (and likely anything < 4.4 except 4.2.[0-3]) (PR bootstrap/84405)

2018-02-17 Thread Jakub Jelinek
On Fri, Feb 16, 2018 at 02:14:09PM -0700, Martin Sebor wrote: > On 02/16/2018 01:44 PM, Jakub Jelinek wrote: > > On Fri, Feb 16, 2018 at 09:25:30PM +0100, Richard Biener wrote: > > > But the broken compilers will overwrite the memset data with possibly > > > uninitialized fields of a TARGET_EXPR.