Re: [PATCH 199/236] Introduce rtx_insn_list subclass of rtx_def

2014-08-30 Thread Jeff Law
On 08/07/14 09:33, David Malcolm wrote: On Wed, 2014-08-06 at 21:29 -0400, Trevor Saunders wrote: On Wed, Aug 06, 2014 at 01:22:58PM -0400, David Malcolm wrote: +class GTY(()) rtx_insn_list : public rtx_def +{ + /* No extra fields, but adds invariant: (GET_CODE (X) == INSN_LIST). some nice

Re: TAGs for variables created through common.opt

2014-08-30 Thread Jeff Law
On 08/21/14 11:53, Aldy Hernandez wrote: Well, whadayaknow... Tom Tromey pointed me at --regex which we can use to add patterns for not only the .opt files, but for a bunch of other files/languages we define in GCC. The following patch adds support for common.opt, rtl.def, tree.def, and

Re: [patch] propagate INSTALL Makefile variables down from gcc/

2014-08-30 Thread Jeff Law
On 08/21/14 09:49, Olivier Hainque wrote: Hello, Experiments with custom install programs exposed that the INSTALL series of Makefile variables aren't propagated down from the gcc subdir. This patch fixes this. Checked that it addressed the unexpected behavior we were observing + bootstrapped

Re: [PATCH] Avoid redundant indirect_info computation during inderct edge cloning

2014-08-30 Thread Jeff Law
On 08/18/14 06:07, Ilya Enkovich wrote: On 15 Aug 23:08, Jan Hubicka wrote: Hi, I get a segafult in decl_maybe_in_construction_p during function versioning. We have following steps in clone creation (e.g. as in create_version_clone_with_body): 1. Create function decl 2. Create clone of

Re: [PATCH] Drop user_defined_section_attribute, directly check DECL_SECTION_NAME instead

2014-08-30 Thread Jeff Law
On 08/27/14 16:30, Yi Yang wrote: Ping On Mon, Aug 11, 2014 at 3:10 PM, Yi Yang ahyan...@google.com wrote: Sorry, it is a typo :( Patch v2: -- 2014-08-11 Yi Yang ahyan...@google.com gcc: * bb-reorder.c (pass_partition_blocks::gate): Replace check. * c-family/c-common.c

Re: [PATCH i386 AVX512] [31/n] Update float unspec namely storeu,rcp14,rsqrt14,scalef,getexp,fixupimm,rndscale,getmant.

2014-08-30 Thread Uros Bizjak
On Fri, Aug 29, 2014 at 3:23 PM, Kirill Yukhin kirill.yuk...@gmail.com wrote: Hello, Patch in the bottom updates few UNSPEC insn patterns w/ new mode iterator. Additionally names were slightly changed. Bootstrapped. AVX-512* tests on top of patch-set all pass under simulator. Is it ok for

Re: [PATCH i386 AVX512] [32/n] Add reduce,range,fpclass.

2014-08-30 Thread Uros Bizjak
On Fri, Aug 29, 2014 at 3:55 PM, Kirill Yukhin kirill.yuk...@gmail.com wrote: Patch in the bottom adds support for reduce,range,fpclass. Bootstrapped. AVX-512* tests on top of patch-set all pass under simulator. Is it ok for trunk? gcc/ * config/i386/i386.c

Re: [PATCH i386 AVX512] [33/n] Add patterns for compress, expand.

2014-08-30 Thread Uros Bizjak
On Fri, Aug 29, 2014 at 4:00 PM, Kirill Yukhin kirill.yuk...@gmail.com wrote: Patch in the bottom extends support of compress and expand insns. Bootstrapped. AVX-512* tests on top of patch-set all pass under simulator. Is it ok for trunk? gcc/ * config/i386/sse.md

Re: [Patch, Fortran] CAF dep (1/3): PR62278 - improve dependency.c's gfc_check_dependency's check (missed-optimization)

2014-08-30 Thread Paul Richard Thomas
Dear Tobias, Given Dominques news that this fixes a golden oldie that drove me to madness and PR60593 - OK for trunk, 4.8 and 4.9 Many thanks for the patch Paul On 27 August 2014 22:59, Tobias Burnus bur...@net-b.de wrote: The current gfc_check_dependency check always looked at the pointer

Make many more options use CPP()

2014-08-30 Thread Manuel López-Ibáñez
This converts almost all remaining CPP options to use CPP() in the *.opt files. Following your comment here (https://gcc.gnu.org/ml/gcc-patches/2014-08/msg02499.html) several options now use explicit Init(). The only test I needed to tweak was gcc.dg/cpp/endif-pedantic2.c, which tests that

Re: [PATCH v2] Re: PR62304 (was Re: (Still) ICE for cris-elf at r214710)

2014-08-30 Thread David Malcolm
On Fri, 2014-08-29 at 23:41 -0600, Jeff Law wrote: On 08/29/14 12:07, David Malcolm wrote: Yes: I made various mistakes in reorg.c and resource.c where I assumed that a JUMP_LABEL(insn) was an insn, whereas the existing code is set up to handle RETURN nodes. Well, it would seem to me

[committed] Update libstdc++ baseline symbols on hppa-linux

2014-08-30 Thread John David Anglin
We now have support for future on hppa-linux. The attached change updates the baseline symbols for it. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2014-08-30 John David Anglin dang...@gcc.gnu.org *

[committed] Don't request function descriptors when generating fast indirect calls on hppa

2014-08-30 Thread John David Anglin
The attached change fixes a rather old regression. The code that is generated with fast indirect calls assumes that a function pointer points directly at the function being called, not a procedure descriptor. Tested on hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.11. Committed to trunk,

Re: [Patch, Fortran] CAF dep (2/3): Move code around, prepare for more locking support

2014-08-30 Thread Paul Richard Thomas
Dear Tobias, Obviously there is no problem with this - OK for trunk Cheers Paul On 27 August 2014 23:37, Tobias Burnus bur...@net-b.de wrote: I claim that it is part 2 of 3 of the CAF dep series, but the patch has nothing to do with it, except that it is in the way. Technically, it just

Re: [PING^3] Re: [PATCH 1/2] Add -B support to gcc-ar/ranlib/nm

2014-08-30 Thread Andi Kleen
Hi Richard, On Thu, Aug 28, 2014 at 10:18:22AM +0200, Richard Biener wrote: This also matches joined -B/foo +{ + const char *arg = av[i] + 2; + const char *end; + + memmove (av + i, av + i + 1, sizeof (char *) * ((ac + 1) - i)); + ac--; + if (*arg ==

[RFC/PATCH] More precise diagnostic locations: dynamic locations for columns vs explicit offset

2014-08-30 Thread Manuel López-Ibáñez
In some situations, we would like to point to a location which was not encoded when tokenizing. This happens, for example, in two prominent cases: 1) To get precise locations within strings (https://gcc.gnu.org/PR52952) for example, for Wformat warnings. 2) In the Fortran FE, which gives quite

Re: [patch] No allocation for empty unordered containers

2014-08-30 Thread François Dumont
Any news for my patch proposals ? Regarding documentation of default minimum number of buckets, I don't know where it has been documented but why do we need to document it separately ? Could it be taken care by Doxygen ? Can't it get the default value from the code itself ? If not we could

Re: [PATCH] Add support for GNU/Hurd in gnat-4.9

2014-08-30 Thread Matthias Klose
Am 20.08.2014 um 22:12 schrieb Svante Signell: On Wed, 2014-05-21 at 10:48 +0200, Samuel Thibault wrote: Svante Signell, le Wed 21 May 2014 10:44:54 +0200, a écrit : On Wed, 2014-05-21 at 10:33 +0200, Arnaud Charlet wrote: I think the majority of work has bee done, Now that patch will change

Re: [Patch, Fortran] CAF dep (3/3): coarrays - pass may_require_tmp informtion for CAF_get/send/sendget to the library

2014-08-30 Thread Paul Richard Thomas
Dear Tobias, This looks fine to me - OK for trunk. Thanks for this massive effort! Paul On 28 August 2014 08:13, Tobias Burnus bur...@net-b.de wrote: This patch is based on 1/2 and 2/2 on the series. When the patch is approved, OpenCoarrays needs to be adapted; however, as surplus arguments

[Comitted] Add testcase for some miscompile in older versions of GCC

2014-08-30 Thread Andrew Pinski
Hi, In some versions of GCC with AARCH64 backported, I got a miscompile of a shift that involved a load which had a post increment of the address. This adds the testcase I created for that case. Comitted after a quick test on x86_64-linux-gnu of the testcase. I had meant to commit this two

Re: [PATCH] GCC/test: Disable loop-19.c for classic FPU Power

2014-08-30 Thread David Edelsohn
On Fri, Aug 29, 2014 at 10:46 PM, Maciej W. Rozycki ma...@codesourcery.com wrote: Hi, The loop-19.c test case has regressed from 4.8 to 4.9 and trunk on classic FPU Power targets, these failures are now seen: FAIL: gcc.dg/tree-ssa/loop-19.c scan-tree-dump-times optimized MEM.(base:

Re: [PATCH, rs6000] A few more vector builtins

2014-08-30 Thread David Edelsohn
On Fri, Aug 29, 2014 at 2:28 PM, Bill Schmidt wschm...@linux.vnet.ibm.com wrote: Hi, This is the last in the current series of new vector built-ins. This group adds vec_ctf, vec_cts, and vec_ctu for vector double and vector long long. Additionally, it adds documentation for the built-ins