GCC 7.2 Release Candidate available from gcc.gnu.org

2017-08-03 Thread Richard Biener
A release candidate for GCC 7.2 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/gcc-7.2-RC-20170802/ and shortly its mirrors. It has been generated from SVN revision 250819. I have so far bootstrapped and tested the release candidate on x86_64-unknown-linux-gnu. Please test it and repo

Re: How to migrate struct rtl_opt_pass to class for GCC v6.x?

2017-08-03 Thread Leslie Zhai
/opt/gcc-6.3/bin/gcc -fplugin=./dragonegg.so test/hello.c -wrapper gdb,--args GNU gdb (GDB) Fedora 7.12.1-48.fc25 ... Reading symbols from /opt/gcc-6.3/libexec/gcc/x86_64-redhat-linux-gnu/6.3.0/cc1...done. (gdb) b /data/project/xiangzhai/gcc-6.3.0/gcc/passes.c:2288 Breakpoint 1 at 0x91b8d4: fil

Re: [patch] RFC: Hook for insn costs?

2017-08-03 Thread James Greenhalgh
On Wed, Aug 02, 2017 at 12:56:58PM -0700, Richard Henderson wrote: > On 08/02/2017 12:34 PM, Richard Earnshaw wrote: > > I'm not sure if that's a good or a bad thing. Currently the mid-end > > depends on some rtx constructs having sensible costs even if there's no > > rtl pattern to match them (II

Re: Overwhelmed by GCC frustration

2017-08-03 Thread Steven Bosscher
On Mon, Jul 31, 2017 at 6:49 PM, Joel Sherrill wrote: > > Long ago, there was a code size regression tester for at least > ARM. Is that still around? There used to be autotesters from CSiBE. Something still appears to exist (http://www.csibe.org/old/) but the last time I tried to run the benchmar

Re: How to migrate struct rtl_opt_pass to class for GCC v6.x?

2017-08-03 Thread David Malcolm
On Thu, 2017-08-03 at 17:21 +0800, Leslie Zhai wrote: > /opt/gcc-6.3/bin/gcc -fplugin=./dragonegg.so test/hello.c -wrapper > gdb,--args > GNU gdb (GDB) Fedora 7.12.1-48.fc25 > ... > Reading symbols from > /opt/gcc-6.3/libexec/gcc/x86_64-redhat-linux-gnu/6.3.0/cc1...done. > (gdb) b /data/project/x

Re: RFC: C extension to support variable-length vector types

2017-08-03 Thread Torvald Riegel
On Wed, 2017-08-02 at 17:59 +0100, Richard Sandiford wrote: > Torvald Riegel writes: > > On Wed, 2017-08-02 at 14:09 +0100, Richard Sandiford wrote: > >> (1) Does the approach seem reasonable? > >> > >> (2) Would it be acceptable in principle to add this extension to the > >> GCC C fron

Re: RFC: C extension to support variable-length vector types

2017-08-03 Thread Torvald Riegel
On Thu, 2017-08-03 at 17:32 +0200, Torvald Riegel wrote: > On Wed, 2017-08-02 at 17:59 +0100, Richard Sandiford wrote: > > Torvald Riegel writes: > > > On Wed, 2017-08-02 at 14:09 +0100, Richard Sandiford wrote: > > >> (1) Does the approach seem reasonable? > > >> > > >> (2) Would it be accep

Re: RFC: C extension to support variable-length vector types

2017-08-03 Thread Richard Biener
On August 3, 2017 5:32:40 PM GMT+02:00, Torvald Riegel wrote: >On Wed, 2017-08-02 at 17:59 +0100, Richard Sandiford wrote: >> Torvald Riegel writes: >> > On Wed, 2017-08-02 at 14:09 +0100, Richard Sandiford wrote: >> >> (1) Does the approach seem reasonable? >> >> >> >> (2) Would it be acce

Re: [patch] RFC: Hook for insn costs?

2017-08-03 Thread Jeff Law
On 08/02/2017 01:34 PM, Richard Earnshaw wrote: > On 26/07/17 18:54, Jeff Law wrote: >> On 07/17/2017 02:35 PM, Richard Henderson wrote: >>> On 07/17/2017 12:20 AM, Richard Biener wrote: On Sun, Jul 16, 2017 at 12:51 AM, Segher Boessenkool > Now what should it take as input? An rtx_insn,

Re: RFC: C extension to support variable-length vector types

2017-08-03 Thread Richard Biener
On August 3, 2017 5:51:35 PM GMT+02:00, Richard Biener wrote: >On August 3, 2017 5:32:40 PM GMT+02:00, Torvald Riegel > wrote: >>On Wed, 2017-08-02 at 17:59 +0100, Richard Sandiford wrote: >>> Torvald Riegel writes: >>> > On Wed, 2017-08-02 at 14:09 +0100, Richard Sandiford wrote: >>> >> (1) D

Re: RFC [testsuite] Obey --load-average

2017-08-03 Thread Jeff Law
On 08/02/2017 11:34 PM, Daniel Santos wrote: > I'm working on a patch to modify the testsuite to obey the > --load-average value if one is passed to make. It seems to work pretty > well, except for libstdc++ which doesn't load gcc/libs/gcc-defs.exp > since it defines it's own ${tool}_functions. I

Re: RFC: C extension to support variable-length vector types

2017-08-03 Thread Richard Sandiford
Torvald Riegel writes: > On Wed, 2017-08-02 at 17:59 +0100, Richard Sandiford wrote: >> Torvald Riegel writes: >> > On Wed, 2017-08-02 at 14:09 +0100, Richard Sandiford wrote: >> >> (1) Does the approach seem reasonable? >> >> >> >> (2) Would it be acceptable in principle to add this extensi

Re: RFC: C extension to support variable-length vector types

2017-08-03 Thread Richard Biener
On August 3, 2017 7:05:05 PM GMT+02:00, Richard Sandiford wrote: >Torvald Riegel writes: >> On Wed, 2017-08-02 at 17:59 +0100, Richard Sandiford wrote: >>> Torvald Riegel writes: >>> > On Wed, 2017-08-02 at 14:09 +0100, Richard Sandiford wrote: >>> >> (1) Does the approach seem reasonable? >>

Re: RFC [testsuite] Obey --load-average

2017-08-03 Thread Mike Stump
On Aug 2, 2017, at 10:34 PM, Daniel Santos wrote: > > I'm working on a patch to modify the testsuite to obey the > --load-average value if one is passed to make. The code seems like a reasonable approach. Love to see numbers and test scenarios so that others can tell if you've covered their us

Re: How to migrate struct rtl_opt_pass to class for GCC v6.x?

2017-08-03 Thread Leslie Zhai
Hi David, Thanks for your kind response! 在 2017年08月03日 21:54, David Malcolm 写道: On Thu, 2017-08-03 at 17:21 +0800, Leslie Zhai wrote: /opt/gcc-6.3/bin/gcc -fplugin=./dragonegg.so test/hello.c -wrapper gdb,--args GNU gdb (GDB) Fedora 7.12.1-48.fc25 ... Reading symbols from /opt/gcc-6.3/libexec