[wwwdocs] PATCH for Re: Austriaon gcc mirror is offline

2017-04-22 Thread Gerald Pfeifer
On Sat, 22 Apr 2017, Branko wrote: > On your https://gcc.gnu.org/mirrors.html page, first mirror listed is > Austrian ftp://gd.tuwien.ac.at/gnu/gcc. > > I've noticed that it is offline for a few days. I tried firing email to > Antonin.Sprinzl at tuwien.ac.at as listed on a page, but it keeps bei

[RFC, testsuite] Add dg-save-linenr

2017-04-22 Thread Tom de Vries
Hi, there are currently two types of line number supported in dg-{error,warning,message,bogus} directives: absolute and relative. With an absolute line number, it's immediately clear what line number is meant, but when a line is added at the start of the file, the line number needs to be updat

Re: [RFC, testsuite] Add dg-save-linenr

2017-04-22 Thread Mike Stump
On Apr 22, 2017, at 10:49 AM, Tom de Vries wrote: > > This patch adds a directive dg-save-linenr with argument varname, that saves > the line number of the directive in a variable varname, which can be used as > line number in dg directives. > RFC: > - good idea? Seems reasonable to me. I'd

[PATCH] PR c++/77306 - Unable to specify visibility for explicit template instantiations

2017-04-22 Thread James Abbatiello
This is my first time attempting a contribution here so please point out any mistakes. I've tested this on x86_64-pc-linux-gnu in a VM. -- James Abbatiello gcc/ChangeLog: PR c++/77306 * attribs.c (decl_attributes): Allow visibility attributes on explicit template insta

[Patch, Fortran] PR 80121: Memory leak with derived-type intent(out) argument

2017-04-22 Thread Janus Weil
Hi all, the patch in the attachment fixes a memory leak by auto-deallocating the allocatable components of an allocatable intent(out) argument. Regtests cleanly on x86_64-linux-gnu. Ok for trunk? Cheers, Janus 2017-04-22 Janus Weil PR fortran/80121 * trans-types.c (gfc_conv_procedu

Re: [Patch, Fortran] PR 80121: Memory leak with derived-type intent(out) argument

2017-04-22 Thread Thomas Koenig
Hi Janus, the patch in the attachment fixes a memory leak by auto-deallocating the allocatable components of an allocatable intent(out) argument. Regtests cleanly on x86_64-linux-gnu. Ok for trunk? OK for trunk. Also (because this is a quite serious bug) OK for gcc 7 after the release of 7.1

[patch, libgfortran] PR80484 Three syntax errors involving derived-type I/O

2017-04-22 Thread Jerry DeLisle
Hi all, The attached patch fixes these issues. Regression tested on x86_64-pc-linux-gnu. New test attached. OK for Trunk (8)? I think we should backport to 7 when it re-opens. The failing repeat count on DT format is very not good. Regards, Jerry 2017-04-22 Jerry DeLisle PR fo