Re: [PATCH 0/6] Improve -fprefetch-loop-arrays in general and for AArch64 in particular

2017-05-27 Thread Andrew Pinski
On Tue, Feb 28, 2017 at 1:53 AM, Maxim Kuvyrkov wrote: >> On Feb 20, 2017, at 5:38 PM, Kyrill Tkachov >> wrote: >> >> Hi Maxim, >> >> On 30/01/17 11:24, Maxim Kuvyrkov wrote: >>> This patch series improves -fprefetch-loop-arrays pass through small fixes >>> and tweaks, and then enables it for s

Re: [PATCH] warn on mem calls modifying objects of non-trivial types (PR 80560)

2017-05-27 Thread Martin Sebor
+/* Return true if class TYPE meets a relaxed definition of standard-layout. + In particular, the requirement that it "has all non-static data members + nd bit-fields in the class and its base classes first declared in the + same class" is not considered. */ + +static bool +almost_std_layou

[PATCH] Add header implementation of std::to_string for integers (PR libstdc++/71108)

2017-05-27 Thread Adrian Wielgosik
Currently std::to_string takes a fairly long trip to vs(n/w)printf. The patch implements int-to-string formatting in header, to improve function performance. Results of a benchmark on my PC: to_string(integer) takes 85-107ns per call (depending on result string size), out of which ~75ns is spent i

[Patch, fortran] PR35339 Optimize implied do loops in io statements

2017-05-27 Thread Nicolas Koenig
Hello everyone, attached is a patch to simplify implied do loops in io statements by replacing them with their respective array slices. For example "WRITE (*,*) (a(i), i=1,4,2)" becomes "WRITE (*,*) a(1:4:2)". Ok for trunk? Nicolas Regression tested for x85_64-pc-linux-gnu. Changelog: 2017

Re: regression for microblaze architecture

2017-05-27 Thread Michael Eager
From https://gcc.gnu.org/ml/gcc/2017-05/msg00221.html: On 05/27/2017 09:09 AM, Michael Eager wrote: On 05/27/2017 01:51 AM, Waldemar Brodkorb wrote: Hi, Buildroot and OpenADK have samples to create a Linux system to be bootup in Qemu system emulation for microblaze architecture. With gcc 6.3

[PATCH] fix PR ada/80888

2017-05-27 Thread Simon Wright
The GNAT reference manual says in 11.6 Wide_Text_IO , "The default encoding method for the standard files, and for opened files for which no WCEM parameter is given in the FORM string matches the wide character encoding specif

Re: MinGW compilation warnings in libiberty's waitpid.c

2017-05-27 Thread Iain Buclaw
On 26 May 2017 at 18:30, Joel Brobecker wrote: >> Thanks. Is the environ thing also fixed? >> >> Joel/Pedro, how should I go about making sure these changes are in the >> GDB copy of libiberty? > > Normally, I'd expect someone pushing to GCC's libibert to also > update our repo accordingly. Howev

Re: Default std::vector default and move constructor

2017-05-27 Thread Jonathan Wakely
On 26/05/17 23:13 +0200, François Dumont wrote: On 25/05/2017 18:28, Jonathan Wakely wrote: On 15/05/17 19:57 +0200, François Dumont wrote: Hi Following what I have started on RbTree here is a patch to default implementation of default and move constructors on std::vector. As in _Rb_tr

MAINTAINERS update

2017-05-27 Thread Bernd Schmidt
I am no longer working for Red Hat, so I've updated my email address. Also, I don't expect to be around very much in the near future, so I've removed myself as maintainer for some areas. Bernd Index: ChangeLog === --- ChangeLog (r

Re: Web page for binaries

2017-05-27 Thread Gerald Pfeifer
On Sat, 27 May 2017, FX wrote: > Does the website get rebuilt automatically, or does it need to be > triggered? All automagically :-), and in the case of documents created from .texi (such as /onlinedocs or /install) this happens once a day, cf. gcc/maintainer-scripts/crontab line 2. Gerald

Re: Web page for binaries

2017-05-27 Thread FX
> Just omit the slashes at the ends of the two URLs please. (If you > paste them into Firefox, say, you'll notice they end up getting stripped. > I don't have the RFC handy right now, but for domain names without > directories the / hasn't been necessary for fifteen or so years.) Done. Does

Re: Allow some NOP conversions in (X+CST1)+CST2 in match.pd

2017-05-27 Thread Marc Glisse
On Sat, 27 May 2017, Jakub Jelinek wrote: After discussions in PR80887, I've reverted the match.pd part and xfailed the test, because it breaks bootstrap and will take a while to resolve properly. Thank you. -- Marc Glisse

Re: Allow some NOP conversions in (X+CST1)+CST2 in match.pd

2017-05-27 Thread Jakub Jelinek
On Sun, May 21, 2017 at 09:22:56PM +0200, Marc Glisse wrote: > generalizing a bit one transformation, to avoid a regression with another > patch I am working on. Handling conversions always gets messy :-( It would > have been easier to stick to scalars and wide_int, but since the existing > transfo