[PATCH 3/4] Merge the ./config directory between GCC and Binutils

2014-11-26 Thread Jan-Benedict Glaw
This pulls in the missing Binutils pieces into the ./config directory. Contains these missing Binutils changes: 2014-08-14 Alan Modra amo...@gmail.com * plugins.m4: Test for dlfcn.h or windows.h here to set default for --enable-plugins. Report error if someone tries to enable

[PATCH 4/4] Regenerate ./configure

2014-11-26 Thread Jan-Benedict Glaw
2014-11-26 Jan-Benedict Glaw jbg...@lug-owl.de * configure: Regenerate. --- ChangeLog | 4 configure | 14 -- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f5ce738..4c8adff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3

C++ PATCH for partial specialization of variable templates

2014-11-26 Thread Jason Merrill
Another member of the C++ committee playing with our new support for variable templates noted that we didn't allow partial specialization of them. Fixed thus. Tested x86_64-pc-linux-gnu, applying to trunk. commit d85e489036f70718a12063345db0894797252938 Author: Jason Merrill ja...@redhat.com

Re: [PATCH 3/5] combine: add regno field to LOG_LINKS

2014-11-26 Thread Segher Boessenkool
On Wed, Nov 26, 2014 at 11:14:36AM -0700, Jeff Law wrote: Are you talking about create_log_links? There can be no duplicates there (anymore), that would be multiple defs of the same reg in the same insn, indeed. Yes, I was referring to the code in create_log_links. You dropped the check

[PATCH] Fix middle-end/64061, ICE in gen_rtx_SUBREG

2014-11-26 Thread Andrew Pinski
Hi, The problem here is lra_substitute_pseudo calls gen_rtx_SUBREG with a VOIDmode (const_int) argument but really it should not be calling gen_rtx_SUBREG directly instead it should be using gen_lowpart_if_possible. This patch fixes that and adds a testcase that had happened on x86_64. OK? I

Re: [PATCH] Fix middle-end/64061, ICE in gen_rtx_SUBREG

2014-11-26 Thread Andrew Pinski
On Wed, Nov 26, 2014 at 2:00 PM, Andrew Pinski pins...@gmail.com wrote: Hi, The problem here is lra_substitute_pseudo calls gen_rtx_SUBREG with a VOIDmode (const_int) argument but really it should not be calling gen_rtx_SUBREG directly instead it should be using gen_lowpart_if_possible.

Re: [patch] Excessive alignment in ix86_data_alignment

2014-11-26 Thread Petr Murzin
On 09 Oct 08:25, H.J. Lu wrote: On Thu, Oct 9, 2014 at 1:37 AM, Uros Bizjak ubiz...@gmail.com wrote: On Thu, Oct 9, 2014 at 10:25 AM, Kirill Yukhin kirill.yuk...@gmail.com wrote: On 08 Oct 23:02, Petr Murzin wrote: Hi, I have measured performance impact on Haswell platform according to

Re: [Patch,wwwdoc]Update 5.0 change for ARM new core cortex-m7

2014-11-26 Thread Gerald Pfeifer
On Wednesday 2014-11-26 11:17, Terry Guo wrote: This patch will document support and tuning for Cortex-M7 in GCC 5.0 changes. Is it ok to commit? Looks good to me. Thanks, Gerald

Re: [wwwdocs] Add news item about JIT

2014-11-26 Thread Gerald Pfeifer
On Tuesday 2014-11-11 20:17, David Malcolm wrote: The attached patch adds a news entry about the JIT merge to the frontpage of the website. Yes. Except you may want to add your name to the entry as we have in some older examples. Kudos where kudos is due. :-) Oh, and gcc/doc/contrib.texi

Re: patch to fix PR63897

2014-11-26 Thread H.J. Lu
On Mon, Nov 24, 2014 at 4:23 PM, H.J. Lu hjl.to...@gmail.com wrote: On Fri, Nov 21, 2014 at 1:32 PM, Vladimir Makarov vmaka...@redhat.com wrote: The following patch fixes PR63897. The details can be found on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63897 The patch was successfully

Re: [PATCH v4] gcc/c-family/c-cppbuiltin.c: Let buffer enough to print host wide integer value

2014-11-26 Thread Chen Gang
OK, I shall send related test case within two weeks (2014-12-10). Thanks. Send from Lenovo A788t. Joseph Myers jos...@codesourcery.com wrote: On Thu, 27 Nov 2014, Chen Gang wrote: The original length 18 is not enough for HOST_WIDE_INT printing, need use 20 instead of. Also need

Re: [PATCH v3] gcc/ubsan.c: Use 'pretty_print' for 'pretty_name' to avoid memory overflow

2014-11-26 Thread Chen Gang
If necessary to add related test case, please let me know. Thanks. Send from Lenovo A788t. Jakub Jelinek ja...@redhat.com wrote: On Mon, Nov 24, 2014 at 04:28:10PM +0800, Chen Gang wrote: On 11/24/14 15:41, Jakub Jelinek wrote: On Sun, Nov 23, 2014 at 09:13:27AM +0800, Chen Gang wrote:

[tree-type] Split decl_attribute into type and decl specific versions.

2014-11-26 Thread Andrew MacLeod
First independent infrastructure patch for the branch. These sort of patches I will commit to the branch without any tree-type specific changes so I can maintain it as a patch to submit in stage 1 independent of the overall larger change. I'll make the tree-type specific changes last.

[PATCH, committed] skip alignof2.C testcase on AIX

2014-11-26 Thread David Edelsohn
The AIX ABI unfortunately does not use natural alignment. Type double is 4 word aligned. However, the alignment of structs with a first member of double are bumped to doubleword alignment. This exactly conflicts with the testcase. Thanks, David * g++.dg/ext/alignof2.C: xfail-run-if on

Re: [PATCH, ARM, libgcc] New aeabi_idiv function for armv6-m

2014-11-26 Thread Joey Ye
OK applying to arm/embedded-4_9-branch, though you still need maintainer approval into trunk. - Joey On Wed, Nov 26, 2014 at 11:43 AM, Hale Wang hale.w...@arm.com wrote: Hi, This patch ports the aeabi_idiv routine from Linaro Cortex-Strings

Re: [PATCH 04/08] PR jit/63854: Remove xstrdup from ipa/cgraph fprintf calls

2014-11-26 Thread Trevor Saunders
On Wed, Nov 26, 2014 at 09:49:52AM -0500, David Malcolm wrote: On Wed, 2014-11-26 at 09:13 +0100, Uros Bizjak wrote: Hello! cgraph*.c and ipa-*.c use xstrdup on strings when dumping them via fprintf, leaking all of the duplicated buffers. Is/was there a reason for doing this?

[PATCH 2/2] [C++] pr31397 - implement -Wsuggest-override

2014-11-26 Thread tsaunders
From: Trevor Saunders tsaund...@mozilla.com Hi, the idea in the pr of providing a warning that tells people where they can add override seems reasonable to me. bootstrapped + regtested x86_64-unknown--linux-gnu (new test passes), ok? Trev c-family/ * c.opt (Wsuggest-override): New

[PATCH 1/2] [C++] Remove tree_list from warn_hidden

2014-11-26 Thread tsaunders
From: Trevor Saunders tsaund...@mozilla.com Hi, I'll claim this is kind of a bug fix in so much as excessive gc allocation and use of tree_list is a bug. bootstrapped + regtested x86_64-unknown-linux-gnu, ok? Trev cp/ * class.c (warn_hidden): Use auto_vectree instead of tree_list to

<    1   2