[patch, libgfortran] PR86070 - [7 regression] gfortran.dg/fmt_zero_digits.f90 segmentation fault

2018-06-09 Thread Jerry DeLisle
I have not confirmed this fixes the segfault reported, but valgrind reports jump or move on uninitialized for the test case and this fixes that part. I will commit as obvious/simple on trunk and follow through on 7 and 8. Regression tested on x86_64. Regards, Jerry 2018-06-09 Jerry DeLisle

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

2018-06-09 Thread Iain Buclaw
On 15 March 2018 at 20:05, Iain Buclaw wrote: > On 17 February 2018 at 16:08, Iain Buclaw wrote: >> 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 Buc

[Committed] xfail 3 testcases of FreeBSD

2018-06-09 Thread Steve Kargl
I have finally gotten around to committing 2018-06-09 Steven G. Kargl * gfortran.dg/ieee/ieee_4.f90: xfail on i?86-*-freebsd* * gfortran.dg/ieee/large_4.f90: Ditto. * gfortran.dg/round_4.f90: Ditto. These tests have failed on i?86-*-FreeBSD since the tests were committed. The underl

[PATCH] ltmain.sh: Sort input file list

2018-06-09 Thread Bernhard M. Wiedemann
so that gcc builds in a reproducible way in spite of indeterministic filesystem readdir order See https://reproducible-builds.org/ for why this is good. While working on the reproducible builds effort, I found that when building the gcc8 package for openSUSE, there were differences between each b

[Committed] PR fortran/38351 -- Improved error message

2018-06-09 Thread Steve Kargl
I've committed the attached patch. It provides a better error message (IMO) when a derived-type entity is used in a binary intrinsic numeric operator. 2018-06-09 Steven G. Kargl PR fortran/38351 * resolve.c (resolve_operator): Provide better error message for derived t

[PATCH] fixincludes: a few genfixes changes

2018-06-09 Thread Rasmus Villemoes
It's useful to have genfixes fail when autogen is not found, especially when genfixes is run as part of an automated build. That's also more consistent with what happens if autogen is found, but the run fails for some reason (set -e is in effect). Setting $@ to fixincl.x when $# is 0 doesn't seem

Re: [Patch, Fortran] PR 85088: improve diagnostic for bad INTENT declaration

2018-06-09 Thread Thomas Koenig
Hi Janus, I like what the patch does. However, I have one concern. * decl.c (match_attr_spec): Synchronize the DECL_* enum values with the INTENT_* values from the enum 'sym_intent'. This part + { GFC_DECL_BEGIN = 0, DECL_ALLOCATABLE = GFC_DECL_BEGIN, +DECL_IN = INTENT_IN, DEC

Re: [PATCH] PR fortran/78278 -- Issue error message for double initialization

2018-06-09 Thread Thomas Koenig
Hi Steve, The attach patch re-arranges code to permit gfortran to issue an error message under non-gnu -std=* options when an entity appears in a double initialization. Prior to this patch, the new testcase pr78278.f90 would compile without error. Regression tested on x86_64-*-freebsd. OK to c

[Patch, Fortran] PR 85088: improve diagnostic for bad INTENT declaration

2018-06-09 Thread Janus Weil
Hi all, attached is a small patch that approves some diagnostics for INTENT declarations. It also takes care of a TODO note in decl.c. I had regtested a previous version of the patch without problems and will do another run with this one before checking in. Ok for trunk? Cheers, Janus 2018-06-