Re: [C PATCH] Handle typedef name as a flexible array member (PR c/64768)

2015-02-14 Thread Marek Polacek
On Fri, Feb 13, 2015 at 08:53:38PM +, Joseph Myers wrote: > On Fri, 13 Feb 2015, Marek Polacek wrote: > > > Since we had no testing for such cases whatsoever, I took existing flexible > > array member tests and duplicated them, only adjusted them to use a typedef > > name, so that we test as m

Re: [committed] Change "Q" and "T" constraints to memory constraints

2015-02-14 Thread John David Anglin
On 2015-02-13, at 12:08 PM, Richard Henderson wrote: > On 02/13/2015 05:22 AM, John David Anglin wrote: >> + /* Reload sometimes tries to put const data symbolic operands in >> + readonly memory. The HP SOM linker doesn't allow symbolic data >> + in readonly memory. */ >> + if (TARGET_

Re: [PATCH][RFA][LRA] Don't try to break down subreg expressions if insn already matches

2015-02-14 Thread Maxim Kuvyrkov
On Feb 13, 2015, at 1:47 PM, Kyrill Tkachov wrote: > > On 13/02/15 10:10, pins...@gmail.com wrote: >> >> >> >>> On Feb 13, 2015, at 1:48 AM, Kyrill Tkachov wrote: >>> >>> Hi all, >>> >>> In my tree added a pattern to the arm backend that's supposed to match: >>> (set (reg:SI r0) >>> (s

Re: [PATCH 09/36] floatformat.h: Wrap in extern "C".

2015-02-14 Thread Doug Evans
On Mon, Feb 9, 2015 at 3:49 PM, Pedro Alves wrote: > On 02/09/2015 11:35 PM, Andrew Pinski wrote: >> On Mon, Feb 9, 2015 at 3:20 PM, Pedro Alves wrote: >>> Just like libiberty.h. So that C++ programs, such as GDB when built >>> as a C++ program, can use it. >> >> Why is not needed for GCC buildi

Re: [PATCH 09/36] floatformat.h: Wrap in extern "C".

2015-02-14 Thread Pedro Alves
On 02/14/2015 05:29 PM, Doug Evans wrote: > On Mon, Feb 9, 2015 at 3:49 PM, Pedro Alves wrote: >> On 02/09/2015 11:35 PM, Andrew Pinski wrote: >>> Why is not needed for GCC building with C++ compiler? >> >> Because it doesn't include it. >> >> The header of the file claims it is part of GDB, thoug

Re: Chromium: LTO

2015-02-14 Thread Jan Hubicka
Hi, Maritn has notced that we spend a lot of time in simple cgraph/varpool predicates. The patch bellow reorganizes inlines so the fast paths get fast. > perf report: > > 18.79% lto1-wpa lto1 [.] > do_estimate_growth_1(cgraph_node*, void*) > 12.48% lto1-wp

Re: patch to fix rtl documentation for new floating point comparisons

2015-02-14 Thread Paolo Bonzini
On 10/02/2015 22:46, Joseph Myers wrote: > It may make sense to define LTGT as exactly !UNEQ, and so quiet, but the > choice of definition is a matter of what's convenient for the > implementation (and which choice you make determines which existing code > in GCC should be considered incorrect

Re: [PATCH PR target/65058] AIX: missing extern decorations "[DS]" for functions and "[RW]" for variables

2015-02-14 Thread David Edelsohn
Hi, Michael Thanks for noticing this. This patch generally seems to be on the right track. The original ASM_OUTPUT_EXTERNAL code was not completely correct in the pedantic sense. It should use [UA] mapping class instead of [RW] for all non-function descriptor symbols. This patch also needs a d

Re: [PATCH 09/36] floatformat.h: Wrap in extern "C".

2015-02-14 Thread Doug Evans
On Sat, Feb 14, 2015 at 10:36 AM, Pedro Alves wrote: > On 02/14/2015 05:29 PM, Doug Evans wrote: >> On Mon, Feb 9, 2015 at 3:49 PM, Pedro Alves wrote: >>> On 02/09/2015 11:35 PM, Andrew Pinski wrote: Why is not needed for GCC building with C++ compiler? >>> >>> Because it doesn't include it.

mli...@suse.cz

2015-02-14 Thread Jan Hubicka
Hi, this patch speeds up do_estimate_growth_1 and makes it more correct in presence of uninlinable edges (such as those in thunks) Bootstrapped/regtested x86_64-linux, comitted. * ipa-inline-analysis.c (growth_data): Add uninlinable field. (do_estimate_growth_1): Record if any unin

[PATCH, wwwdoc] Describe the changes of NDS32 port in GCC-5.0.

2015-02-14 Thread Chung-Ju Wu
Hi, all, There are some major changes on NDS32 port in GCC-5.0: https://gcc.gnu.org/ml/gcc-patches/2014-09/msg00316.html https://gcc.gnu.org/ml/gcc-patches/2015-01/msg00992.html https://gcc.gnu.org/ml/gcc-patches/2015-01/msg00993.html This patch is to describe them in changes.html. Althou

[PING ^ 5] [PATCH, AARCH64] Add support for -mlong-calls option

2015-02-14 Thread Yangfei (Felix)
Ping ... > > Patch ping: https://gcc.gnu.org/ml/gcc-patches/2014-11/msg02258.html > Any comments, Richard? Thanks.

[PATCH] Fix some new AIX testsuite failures

2015-02-14 Thread David Edelsohn
The recent PowerPC tests are not relevant to AIX. And builtin-noret-{12}, now produce valid AIX linker warnings. Bootstrapped on powerpc-ibm-aix7.1.0.0 Committed. Thanks, David * gcc.target/powerpc/pr64205.c: Skip on AIX. * gcc.target/powerpc/pr64505.c: Skip on AIX. * gcc.dg/torture/builtin-no