Re: [patch 10/10] debug-early merge: compiler proper

2015-06-02 Thread Richard Biener
On Mon, Jun 1, 2015 at 7:42 PM, Aldy Hernandez al...@redhat.com wrote: On 06/01/2015 01:00 PM, Richard Biener wrote: On June 1, 2015 5:42:57 PM GMT+02:00, Aldy Hernandez al...@redhat.com wrote: On 06/01/2015 04:04 AM, Richard Biener wrote: On Mon, Jun 1, 2015 at 10:03 AM, Richard Biener

[patch] Small tweak to gimplifier

2015-06-02 Thread Eric Botcazou
Hi, there is a trick in the gimplifier to alleviate some annoying effects of the gimplification on the debug info (for -O0 when var-tracking is not enabled but it's done unconditionally): /* Try to alleviate the effects of the gimplification creating artificial temporaries (see for

[commit] [patch] PR other/65366: Fix gdbhooks.py for GDB with Python3

2015-06-02 Thread Jan Kratochvil
On Mon, 01 Jun 2015 22:59:03 +0200, Jason Merrill wrote: OK, thanks. Checked in: r224012 Jan

[PATCH] Optimize SLP from scalars, workaround PR65961

2015-06-02 Thread Richard Biener
The following patch optimizes the case where we decide to build up all operands from a SLP node from scalars to just build up the result from scalars. That's usually less expensive and in the PR65961 works around a case that we don't handle correctly (yet). Bootstrapped and tested on

Re: [PATCH 15/16] gcc: Use libgas and libld within the driver

2015-06-02 Thread Richard Biener
On Mon, Jun 1, 2015 at 11:04 PM, David Malcolm dmalc...@redhat.com wrote: This patch adds the ability for gcc to be configured with: --with-embedded-as --with-embedded-ld If so, invocations of as and ld are detected in the gcc driver, and specialcased by invoking these in-process as

Re: [BUILDROBOT] arc-elf: match_code REG matches nothing

2015-06-02 Thread Richard Sandiford
Jan-Benedict Glaw jbg...@lug-owl.de writes: On Fri, 2015-05-22 16:42:44 +0100, Richard Sandiford richard.sandif...@arm.com wrote: This patch adjusts the fix for PR target/65689 along the lines suggested in https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01559.html. The idea is to reuse the

Re: [PATCH GCC]Improve how we handle overflow in scev by using overflow information computed for control iv in loop niter, part II

2015-06-02 Thread Bin.Cheng
On Tue, Jun 2, 2015 at 4:40 PM, Richard Biener richard.guent...@gmail.com wrote: On Tue, Jun 2, 2015 at 4:55 AM, Bin.Cheng amker.ch...@gmail.com wrote: On Mon, Jun 1, 2015 at 6:45 PM, Richard Biener richard.guent...@gmail.com wrote: On Tue, May 26, 2015 at 1:04 PM, Bin Cheng bin.ch...@arm.com

Re: [PATCH][AARCH64]Use shl for vec_shr_mode rtx pattern.

2015-06-02 Thread Renlin Li
Is it Okay for me to backport it to gcc-5? Regards, Renlin Li On 30/04/15 16:21, Marcus Shawcroft wrote: On 30 April 2015 at 12:55, Renlin Li renlin...@arm.com wrote: 2015-04-30 Renlin Li renlin...@arm.com * config/aarch64/aarch64-simd.md (vec_shr): Defined as an unspec. *

Re: [patch] Fix ICE on function [not] returning variable size

2015-06-02 Thread Eric Botcazou
Yes, in general in GCC. In this case we could still remove the lhs (not sure if it is worth the trouble or even easy to detect on GIMPLE)? At least for the case I described in Ada, that's already done since the function effectively returns a pointer type. -- Eric Botcazou

Re: [PATCH, AARCH64] make stdarg functions work with +nofp

2015-06-02 Thread James Greenhalgh
On Sat, May 23, 2015 at 12:24:00AM +0100, Jim Wilson wrote: The compiler currently ICEs when compiling a stdarg function with +nofp, as reported in PR 66258. The aarch64.md file disables FP instructions using TARGET_FLOAT, which supports both -mgeneral-regs-only and +nofp. But there is code

Re: [PATCH][ARM][stage-1] Initialise cost to COSTS_N_INSNS (1) and increment in arm rtx costs

2015-06-02 Thread Kyrill Tkachov
Ping^4. Thanks, Kyrill On 21/05/15 18:00, Kyrill Tkachov wrote: Ping^3. Thanks, Kyrill On 12/05/15 10:09, Kyrill Tkachov wrote: Ping^2. Thanks, Kyrill On 30/04/15 13:00, Kyrill Tkachov wrote: Ping. https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01130.html Thanks, Kyrill On 21/04/15

Re: [patch] consolidate some includes into coretypes.h

2015-06-02 Thread Richard Biener
On Mon, Jun 1, 2015 at 11:02 PM, Andrew MacLeod amacl...@redhat.com wrote: I've begun looking at cleaning up the include files. Before removing unnecessary includes, I'd like to get a few other cleanups out of the way to simplify the dependency web. This is the first. There are some

Re: [patch] Small tweak to gimplifier

2015-06-02 Thread Richard Biener
On Tue, Jun 2, 2015 at 11:08 AM, Eric Botcazou ebotca...@adacore.com wrote: Hi, there is a trick in the gimplifier to alleviate some annoying effects of the gimplification on the debug info (for -O0 when var-tracking is not enabled but it's done unconditionally): /* Try to alleviate the

Re: [PATCH 01/35] Introduce new type-based pool allocator.

2015-06-02 Thread Andreas Schwab
In file included from ../../gcc/stmt.c:78:0: ../../gcc/alloc-pool.h: In function 'void expand_sjlj_dispatch_table(rtx, vect\ ree_node*)': ../../gcc/alloc-pool.h:303:4: error: 'case_node_pool.pool_allocatorcase_node:\ :m_block_size' may be used uninitialized in this function [-Werror=maybe-uninit\

Re: [PATCH] Fix misuse of always_inline attribute in 3 hotpatch tests

2015-06-02 Thread Dominik Vogt
On Mon, Jun 01, 2015 at 12:29:31PM +0200, Jakub Jelinek wrote: On Mon, Jun 01, 2015 at 11:20:29AM +0100, Dominik Vogt wrote: There are many more test cases that forget the inline and filter the warning with -Wno-attributes. I'll post an add-on patch later after testing it. Well, we

Re: [PATCH GCC]Improve how we handle overflow in scev by using overflow information computed for control iv in loop niter, part II

2015-06-02 Thread Richard Biener
On Tue, Jun 2, 2015 at 4:55 AM, Bin.Cheng amker.ch...@gmail.com wrote: On Mon, Jun 1, 2015 at 6:45 PM, Richard Biener richard.guent...@gmail.com wrote: On Tue, May 26, 2015 at 1:04 PM, Bin Cheng bin.ch...@arm.com wrote: Hi, My first part patch improving how we handle overflow in scev is

[gomp4, committed] Add checks for num_gangs(32) in goacc kernels tests

2015-06-02 Thread Tom de Vries
Hi, this patch adds an extra check in the goacc kernels testcases. Committed to gomp-4_0-branch. Thanks, - Tom Add checks for num_gangs(32) in goacc kernels tests 2015-05-28 Tom de Vries t...@codesourcery.com * c-c++-common/goacc/kernels-counter-vars-function-scope.c: Add check for

Re: [C/C++ PATCH] Implement -Wshift-overflow (PR c++/55095)

2015-06-02 Thread Richard Biener
On Mon, Jun 1, 2015 at 10:06 PM, Richard Sandiford rdsandif...@googlemail.com wrote: Marek Polacek pola...@redhat.com writes: + /* Left-hand operand must be signed. */ + if (TYPE_UNSIGNED (type0)) +return false; + + /* Compute the result in infinite precision math (sort of). */ +

Re: [PATCH][AARCH64]Use shl for vec_shr_mode rtx pattern.

2015-06-02 Thread Marcus Shawcroft
On 2 June 2015 at 10:30, Renlin Li renlin...@arm.com wrote: Is it Okay for me to backport it to gcc-5? OK provided the patch applies cleanly and there are no regressions. /Marcus Regards, Renlin Li On 30/04/15 16:21, Marcus Shawcroft wrote: On 30 April 2015 at 12:55, Renlin Li

update gthr-tpf.h

2015-06-02 Thread DJ Delorie
This patch updates gthr-tpf.h to the current gthr.h API and TPF API. Ok? * gthr-tpf.h (__GTHREADS_CXX0X): Define. (__gthread_t): Define. (__gthread_cond_t): Define. (__gthread_time_t): Define. (__GTHREAD_HAS_COND): Define. (__GTHREAD_COND_INIT):

Re: [PATCH GCC]Improve how we handle overflow in scev by using overflow information computed for control iv in loop niter, part II

2015-06-02 Thread Richard Biener
On Tue, Jun 2, 2015 at 11:30 AM, Bin.Cheng amker.ch...@gmail.com wrote: On Tue, Jun 2, 2015 at 4:40 PM, Richard Biener richard.guent...@gmail.com wrote: On Tue, Jun 2, 2015 at 4:55 AM, Bin.Cheng amker.ch...@gmail.com wrote: On Mon, Jun 1, 2015 at 6:45 PM, Richard Biener

Re: C++ PATCH for c++/44282 (ia32 calling convention attributes and mangling)

2015-06-02 Thread Uros Bizjak
Hello! PR c++/44282 gcc/cp/ * mangle.c (attr_strcmp): New. (write_CV_qualifiers_for_type): Also write out attributes that affect type identity. (write_type): Strip all attributes after writing qualifiers. libiberty/ * cp-demangle.c (cplus_demangle_type): Handle

Re: [patch] Fix ICE on function [not] returning variable size

2015-06-02 Thread Richard Biener
On Mon, Jun 1, 2015 at 11:08 PM, Eric Botcazou ebotca...@adacore.com wrote: Ok. (I wonder if there are any cases where the return value is allocated by the callee?) Thanks. Do you mean in GCC or in programming languages in general or...? In GNAT, we have something like that: when a

Re: [C/C++ PATCH] Implement -Wshift-overflow (PR c++/55095)

2015-06-02 Thread Richard Sandiford
Richard Biener richard.guent...@gmail.com writes: On Mon, Jun 1, 2015 at 10:06 PM, Richard Sandiford rdsandif...@googlemail.com wrote: Marek Polacek pola...@redhat.com writes: + /* Left-hand operand must be signed. */ + if (TYPE_UNSIGNED (type0)) +return false; + + /* Compute the

Re: [C/C++ PATCH] Implement -Wshift-overflow (PR c++/55095) (take 2)

2015-06-02 Thread Marek Polacek
On Fri, May 29, 2015 at 08:49:58PM +, Joseph Myers wrote: On Mon, 25 May 2015, Marek Polacek wrote: +/* Warn if signed left shift overflows. Note that we don't warn + about left-shifting 1 into the sign bit; cf. +

Re: [PATCH], Add IEEE 128-bit floating point to PowerPC, patch #1

2015-06-02 Thread David Edelsohn
On Tue, Jun 2, 2015 at 2:27 PM, Michael Meissner meiss...@linux.vnet.ibm.com wrote: On Tue, Jun 02, 2015 at 01:43:08PM -0400, David Edelsohn wrote: Mike, What is the purpose of the TARGET_LONG_DOUBLE_128 change in rs6000_hard_regno_mode_ok()? + /* If we don't allow 128-bit binary floating

Re: [gomp4] Worker-single predication

2015-06-02 Thread Cesar Philippidis
On 06/01/2015 08:58 AM, Bernd Schmidt wrote: This extends the previous vector-single support to also handle worker-level predication. We can't use the shfl insn because workers will live across multiple warps, so we use a location in memory to broadcast the branch target. This also fixes the

[Ping] Re: [C++ Patch[ PR 66130

2015-06-02 Thread Paolo Carlini
Hi, gently pinging the below. Should be largely uncontroversial... On 05/18/2015 06:29 PM, Paolo Carlini wrote: Hi, Manuel did most of the work for this rather simple issue filed by Tom: essentially, invalid_nonstatic_memfn_p gets a location_t parameter which is used to pass the location of

Re: [PATCH] PR fortran/66380 -- Remove assert() to allow error condition

2015-06-02 Thread FX
2015-05-27 Steven G. Kargl ka...@gcc.gnu.org * simplify.c (gfc_simplify_reshape): Convert assert into returning NULL, which triggers an error condition. OK to commit.

Re: [PATCH], Add IEEE 128-bit floating point to PowerPC, patch #1

2015-06-02 Thread Joseph Myers
Is the use of FRACTIONAL_FLOAT_MODE to avoid iterations over floating-point modes including these modes when they shouldn't, as discussed previously? If so, how do you deal (in subsequent patches?) with iterations that *should* include these modes? In particular, where libgcc uses

Re: [PATCH], Add IEEE 128-bit floating point to PowerPC, patch #1

2015-06-02 Thread Michael Meissner
On Tue, Jun 02, 2015 at 01:43:08PM -0400, David Edelsohn wrote: Mike, What is the purpose of the TARGET_LONG_DOUBLE_128 change in rs6000_hard_regno_mode_ok()? + /* If we don't allow 128-bit binary floating point, disallow the 128-bit + types from going in any registers. Similarly if

Re: [PATCH], Add IEEE 128-bit floating point to PowerPC, patch #1

2015-06-02 Thread Michael Meissner
On Tue, Jun 02, 2015 at 05:55:10PM +, Joseph Myers wrote: Is the use of FRACTIONAL_FLOAT_MODE to avoid iterations over floating-point modes including these modes when they shouldn't, as discussed previously? If so, how do you deal (in subsequent patches?) with iterations that

Heads-up: testsuite: removed cleanup-ipa-dump, cleanup-rtl-dump,cleanup-tree-dump, cleanup-dump, cleanup-saved-temps

2015-06-02 Thread Bernhard Reutner-Fischer
[just a try to keep fallout low] On June 2, 2015 5:38:06 PM GMT+02:00, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On June 2, 2015 2:08:47 PM GMT+02:00, Richard Biener rguent...@suse.de wrote: Committed. Seems to cause half of the vectorizer tests to be dropped and test-summary

Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Sriraman Tallam
On Mon, Jun 1, 2015 at 1:33 PM, Ramana Radhakrishnan ramana@googlemail.com wrote: On Mon, Jun 1, 2015 at 7:55 PM, Sriraman Tallam tmsri...@google.com wrote: On Mon, Jun 1, 2015 at 11:41 AM, Ramana Radhakrishnan ramana@googlemail.com wrote: On Mon, Jun 1, 2015 at 7:01 PM, Sriraman

RE: [Patch MIPS] Enable TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS hook

2015-06-02 Thread Matthew Fortune
Robert Suchanek robert.sucha...@imgtec.com writes: diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index c3755f5..976f844 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -19415,6 +19415,21 @@ mips_lra_p (void) { return mips_lra_flag; } + +/*

Re: Teach gimple_canonical_types_compatible_p about incomplete types

2015-06-02 Thread Jan Hubicka
thanks. I did not notice we have -fshort-enum by default targets. I suppose we want: /* { dg-xfail-if { arm-eabi-* } { * } { } } */ Well, not that (which matches eabi against the vendor part of the triplet), but skip for the short_enums effective-target keyword. Ok. Did not know

Re: [PR65768] Check rtx_cost when propagating constant

2015-06-02 Thread Jeff Law
On 05/31/2015 08:20 PM, Kugan wrote: On 30/05/15 14:54, Jeff Law wrote: On 05/29/2015 12:32 AM, Kugan wrote: PR target/65768 * cprop.c (try_replace_reg): Check cost of constants before propagating. I should have also noted, fresh bootstrap regression test is needed too.

Re: [patch 10/10] debug-early merge: compiler proper

2015-06-02 Thread Aldy Hernandez
On 06/02/2015 04:11 AM, Richard Biener wrote: I suppose we can change things this way as a followup (as it needs some work) Ok. I cleaned things up using variably_modified_type_p() as you did, instead of the INTEGER_CST nonsense. Attached are the latest dwarf2out.c changes against

Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Bernhard Reutner-Fischer
On June 2, 2015 8:15:42 PM GMT+02:00, Sriraman Tallam tmsri...@google.com wrote: [] I have now modified this patch. This patch does two things: 1) Adds new generic function attribute no_plt that is similar in functionality to -fno-plt except that it applies only to calls to functions that are

Re: [PATCH], Add IEEE 128-bit floating point to PowerPC, patch #1

2015-06-02 Thread Michael Meissner
On Tue, Jun 02, 2015 at 08:14:12PM +, Joseph Myers wrote: On Tue, 2 Jun 2015, Michael Meissner wrote: On Tue, Jun 02, 2015 at 05:55:10PM +, Joseph Myers wrote: Is the use of FRACTIONAL_FLOAT_MODE to avoid iterations over floating-point modes including these modes when they

Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Ramana Radhakrishnan
On Tue, Jun 2, 2015 at 7:15 PM, Sriraman Tallam tmsri...@google.com wrote: On Mon, Jun 1, 2015 at 1:33 PM, Ramana Radhakrishnan ramana@googlemail.com wrote: On Mon, Jun 1, 2015 at 7:55 PM, Sriraman Tallam tmsri...@google.com wrote: On Mon, Jun 1, 2015 at 11:41 AM, Ramana Radhakrishnan

Re: [PATCH], Add IEEE 128-bit floating point to PowerPC, patch #1

2015-06-02 Thread Joseph Myers
On Tue, 2 Jun 2015, Michael Meissner wrote: 4) Add float128 versions of the basic math libraries. For this it will probably be simpler if we can force long double to be IEEE 128-bit so you don't have to change as much code, but you want to suppress whatever check there will be to

Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Sriraman Tallam
On Tue, Jun 2, 2015 at 12:32 PM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On June 2, 2015 8:15:42 PM GMT+02:00, Sriraman Tallam tmsri...@google.com wrote: [] I have now modified this patch. This patch does two things: 1) Adds new generic function attribute no_plt that is

Re: [PATCH] Update check after force_const_mem call in the plus_constant function to see if the value returned is not a NULL_RTX.

2015-06-02 Thread Jeff Law
On 06/02/2015 08:19 AM, Andrew Bennett wrote: Hi, In the plus_constant function in explow.c the code to update a constant pool value does not deal with the case where the value returned from force_const_mem is a NULL_RTX. This occurs for the MIPS target because its cannot_force_const_mem

Re: [PATCH], Add IEEE 128-bit floating point to PowerPC, patch #1

2015-06-02 Thread Joseph Myers
On Tue, 2 Jun 2015, Michael Meissner wrote: On Tue, Jun 02, 2015 at 05:55:10PM +, Joseph Myers wrote: Is the use of FRACTIONAL_FLOAT_MODE to avoid iterations over floating-point modes including these modes when they shouldn't, as discussed previously? If so, how do you deal (in

Re: [PATCH], Add IEEE 128-bit floating point to PowerPC, patch #1

2015-06-02 Thread David Edelsohn
On Tue, Jun 2, 2015 at 4:14 PM, Joseph Myers jos...@codesourcery.com wrote: On Tue, 2 Jun 2015, Michael Meissner wrote: On Tue, Jun 02, 2015 at 05:55:10PM +, Joseph Myers wrote: Is the use of FRACTIONAL_FLOAT_MODE to avoid iterations over floating-point modes including these modes when

[PATCH], Add support for --with-advance-toolchain=xx to PowerPC

2015-06-02 Thread Michael Meissner
This is a convenience patch that would help those of us who work on the main GCC releases as well as backporting changes to the IBM Advance Toolchain. It adds a new configuration switch, --with-advance-toolchain=xxx that configures the compiler to use the include files, libraries, and dynamic

Re: [PATCH], Add support for --with-advance-toolchain=xx to PowerPC

2015-06-02 Thread Joseph Myers
On Tue, 2 Jun 2015, Michael Meissner wrote: * config.gcc (powerpc*-*-*): Add support for a new configure option --with-advance-toolchain=xxx which overrides using the default header files, libraries and dynamic linker. * doc/install.texi

Re: [PATCH], Add support for --with-advance-toolchain=xx to PowerPC

2015-06-02 Thread Michael Meissner
On Wed, Jun 03, 2015 at 12:05:36AM +, Joseph Myers wrote: On Tue, 2 Jun 2015, Michael Meissner wrote: * config.gcc (powerpc*-*-*): Add support for a new configure option --with-advance-toolchain=xxx which overrides using the default header files, libraries and dynamic

Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Bernhard Reutner-Fischer
On June 2, 2015 9:59:40 PM GMT+02:00, Sriraman Tallam tmsri...@google.com wrote: On Tue, Jun 2, 2015 at 12:32 PM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On June 2, 2015 8:15:42 PM GMT+02:00, Sriraman Tallam tmsri...@google.com wrote: [] I have now modified this patch. This

Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Sriraman Tallam
On Tue, Jun 2, 2015 at 1:56 PM, Ramana Radhakrishnan ramana@googlemail.com wrote: On Tue, Jun 2, 2015 at 7:15 PM, Sriraman Tallam tmsri...@google.com wrote: On Mon, Jun 1, 2015 at 1:33 PM, Ramana Radhakrishnan ramana@googlemail.com wrote: On Mon, Jun 1, 2015 at 7:55 PM, Sriraman Tallam

Re: [RFA] Reimplement canonicalization of comparison arguments in match.pd

2015-06-02 Thread Jeff Law
On 06/01/2015 05:15 AM, Richard Biener wrote: On Sat, May 30, 2015 at 6:41 AM, Jeff Law l...@redhat.com wrote: c-common.c::shorten_compare has code to canonicalize the arguments of a comparison so that the constant is the second argument. This patch removes the implementation from c-common.c

Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Xinliang David Li
On Tue, Jun 2, 2015 at 1:56 PM, Ramana Radhakrishnan ramana@googlemail.com wrote: On Tue, Jun 2, 2015 at 7:15 PM, Sriraman Tallam tmsri...@google.com wrote: On Mon, Jun 1, 2015 at 1:33 PM, Ramana Radhakrishnan ramana@googlemail.com wrote: On Mon, Jun 1, 2015 at 7:55 PM, Sriraman Tallam

Re: [PATCH 09/16] libiberty.h: Provide CTIMER_PUSH/POP

2015-06-02 Thread Jeff Law
On 06/01/2015 03:30 PM, DJ Delorie wrote: libiberty is not an API to gcc, it is a portability library. If GCC is exporting a timer, GCC's headers should have the interface in it. Agreed. jeff

Re: Fix PR43404, PR48470, PR64744 ICE on naked functions

2015-06-02 Thread Jeff Law
On 06/01/2015 04:12 AM, Alexander Basov wrote: Hi, this patch fixes ICE when compiling naked functions for arm targets. It prevents register allocation for non-register things like volatile, float, BLKMode vars. Tested on trunk with arm-v7ar-linux-gnueabi on qemu vexpress board. -- Alexander

Re: [C PATCH] warn for empty struct -Wc++-compat

2015-06-02 Thread Prathamesh Kulkarni
On Sat, Nov 15, 2014 at 3:56 AM, Prathamesh Kulkarni bilbotheelffri...@gmail.com wrote: On Sat, Nov 15, 2014 at 3:06 AM, Joseph Myers jos...@codesourcery.com wrote: On Wed, 12 Nov 2014, Prathamesh Kulkarni wrote: Is this version okay ? [gcc/c] * c-decl.c (warn_cxx_compat_finish_struct):

Re: [RFC][PATCH][X86_64] Eliminate PLT stubs for specified external functions via -fno-plt=

2015-06-02 Thread Bernhard Reutner-Fischer
On June 2, 2015 11:22:03 PM GMT+02:00, Xinliang David Li davi...@google.com wrote: I'm sorry I'm going to push back again for the same reason. Other than forcing targets to tweak their call insn patterns, the act of generating the indirect call should remain in target independent code.

Re: [RFA] Reimplement canonicalization of comparison arguments in match.pd

2015-06-02 Thread Jeff Law
On 05/30/2015 03:57 AM, Marc Glisse wrote: On Fri, 29 May 2015, Jeff Law wrote: c-common.c::shorten_compare has code to canonicalize the arguments of a comparison so that the constant is the second argument. This patch removes the implementation from c-common.c and instead implements it in

[ping] Re: [patch,gomp4] error on invalid acc loop clauses

2015-06-02 Thread Cesar Philippidis
Any thoughts? Maybe I should just apply this patch to gomp-4_0-branch since it doesn't introduce any regressions. On 05/20/2015 04:26 PM, Cesar Philippidis wrote: On 05/20/2015 07:32 AM, Jakub Jelinek wrote: For OpenMP/OpenACC, there is still lots of diagnostics emitted during gimplification

[GCC, ARM] armv8 linux toolchain asan testcase fail due to stl missing conditional code

2015-06-02 Thread Shiva Chen
Hi, I noticed that armv8(32 bit target) linux toolchain run asan testcase would get the following message: FAIL: c-c++-common/asan/heap-overflow-1.c -O0 output pattern test, is Executing on host: /home/gccbuilder-x86/test/mgcc5.0/testsuite/../tools/x86_64/install/bin/qemu-arm -E

Re: [PATCH GCC]Improve how we handle overflow for type conversion in scev/ivopts, part I

2015-06-02 Thread Bin.Cheng
On Tue, Jun 2, 2015 at 11:37 AM, Bin.Cheng amker.ch...@gmail.com wrote: On Tue, May 26, 2015 at 5:04 PM, Richard Biener richard.guent...@gmail.com wrote: On Sun, May 24, 2015 at 8:47 AM, Bin.Cheng amker.ch...@gmail.com wrote: On Fri, May 22, 2015 at 7:45 PM, Richard Biener

Re: RFA: RL78:

2015-06-02 Thread DJ Delorie
Ok. Thanks!

Re: [gomp4] Worker-single predication

2015-06-02 Thread Thomas Schwinge
Hi Bernd! On Mon, 1 Jun 2015 17:58:51 +0200, Bernd Schmidt ber...@codesourcery.com wrote: This extends the previous vector-single support to also handle worker-level predication. Thanks! --- gcc/omp-low.c (revision 223974) +++ gcc/omp-low.c (working copy) +/* Allocate storage

Re: [gomp4] Worker-single predication

2015-06-02 Thread Thomas Schwinge
Hi Bernd! On Mon, 1 Jun 2015 17:58:51 +0200, Bernd Schmidt ber...@codesourcery.com wrote: This extends the previous vector-single support to also handle worker-level predication. [...] This causes the following regressions; would you please have a look? [-PASS:-]{+FAIL:

[PR libgomp/65742, PR middle-end/66332] XFAIL acc_on_device compile-time evaluation (was: acc_on_device for device_type_host_nonshm)

2015-06-02 Thread Thomas Schwinge
Hi! On Thu, 7 May 2015 19:32:26 +0100, Julian Brown jul...@codesourcery.com wrote: On Fri, 17 Apr 2015 15:16:19 +0200 Jakub Jelinek ja...@redhat.com wrote: On Tue, Apr 14, 2015 at 05:43:26PM +0200, Thomas Schwinge wrote: Really, acc_on_device is implemented as a compiler builtin (which

[PATCH 2/2] Fix memory report layout at various places.

2015-06-02 Thread mliska
gcc/ChangeLog: 2015-06-02 Martin Liska mli...@suse.cz * alloc-pool.h (struct pool_usage): Correct space padding. * ggc-page.c (ggc_print_statistics): Align columns in a report. * mem-stats.h (struct mem_usage): Add argument to print_dash_line. * tree.c

Re: [PATCH, AARCH64] make stdarg functions work with +nofp

2015-06-02 Thread Kyrill Tkachov
Hi James, Jim, On 02/06/15 10:42, James Greenhalgh wrote: On Sat, May 23, 2015 at 12:24:00AM +0100, Jim Wilson wrote: The compiler currently ICEs when compiling a stdarg function with +nofp, as reported in PR 66258. The aarch64.md file disables FP instructions using TARGET_FLOAT, which

Re: [PATCH 15/16] gcc: Use libgas and libld within the driver

2015-06-02 Thread Trevor Saunders
On Tue, Jun 02, 2015 at 10:31:53AM +0200, Richard Biener wrote: On Mon, Jun 1, 2015 at 11:04 PM, David Malcolm dmalc...@redhat.com wrote: This patch adds the ability for gcc to be configured with: --with-embedded-as --with-embedded-ld If so, invocations of as and ld are detected in

Re: [PATCH 15/16] gcc: Use libgas and libld within the driver

2015-06-02 Thread Richard Biener
On Tue, Jun 2, 2015 at 1:06 PM, Trevor Saunders tbsau...@tbsaunde.org wrote: On Tue, Jun 02, 2015 at 10:31:53AM +0200, Richard Biener wrote: On Mon, Jun 1, 2015 at 11:04 PM, David Malcolm dmalc...@redhat.com wrote: This patch adds the ability for gcc to be configured with:

[patch] Update ABI versioning info in libstdc++ manual

2015-06-02 Thread Jonathan Wakely
Committed to trunk, will also commit to the gcc-5-branch too. commit 0d264889b71aa29214f5414b707f8ba5735abe20 Author: Jonathan Wakely jwak...@redhat.com Date: Tue Jun 2 12:17:09 2015 +0100 * doc/xml/manual/abi.xml: Document versioning for 5.1.0 release. * doc/html/manual/*:

Re: [PATCH, AARCH64] make stdarg functions work with +nofp

2015-06-02 Thread James Greenhalgh
On Tue, Jun 02, 2015 at 11:38:29AM +0100, Kyrill Tkachov wrote: Hi James, Jim, On 02/06/15 10:42, James Greenhalgh wrote: On Sat, May 23, 2015 at 12:24:00AM +0100, Jim Wilson wrote: The compiler currently ICEs when compiling a stdarg function with +nofp, as reported in PR 66258. The

Re: C++ PATCH for c++/44282 (ia32 calling convention attributes and mangling)

2015-06-02 Thread Uros Bizjak
On Tue, Jun 2, 2015 at 9:26 AM, Uros Bizjak ubiz...@gmail.com wrote: Hello! PR c++/44282 gcc/cp/ * mangle.c (attr_strcmp): New. (write_CV_qualifiers_for_type): Also write out attributes that affect type identity. (write_type): Strip all attributes after writing

[PATCH 1/2] Memory statistics enhancement.

2015-06-02 Thread mliska
Hi. Following 2 patches improve memory statistics infrastructure. First one ports pool allocator to the new infrastructure. And the second one makes column alignment properly. Both can bootstrap on x86_64-linux-pc and survive regression tests. Ready for trunk? Thank you, Martin Port

Re: C++ PATCH for c++/44282 (ia32 calling convention attributes and mangling)

2015-06-02 Thread Uros Bizjak
On Tue, Jun 2, 2015 at 1:03 PM, Uros Bizjak ubiz...@gmail.com wrote: On Tue, Jun 2, 2015 at 9:26 AM, Uros Bizjak ubiz...@gmail.com wrote: Hello! PR c++/44282 gcc/cp/ * mangle.c (attr_strcmp): New. (write_CV_qualifiers_for_type): Also write out attributes that affect type

Re: [PATCH, 4/8] Add pass_tree_loop_{init,done} to pass_oacc_kernels

2015-06-02 Thread Richard Biener
On Tue, 2 Jun 2015, Tom de Vries wrote: On 22-04-15 09:40, Richard Biener wrote: On Tue, 21 Apr 2015, Thomas Schwinge wrote: Hi! On Tue, 25 Nov 2014 12:29:28 +0100, Tom de Vries tom_devr...@mentor.com wrote: On 15-11-14 18:21, Tom de Vries wrote: On 15-11-14 13:14, Tom

Re: C++ PATCH to handling of exception specs in system headers

2015-06-02 Thread Rainer Orth
Jason Merrill ja...@redhat.com writes: On 06/01/2015 11:34 AM, Rainer Orth wrote: Isn't this about global vs. std namespace? Probably. Does making the declaration in the testcase extern C help? It does indeed, and the test still passes on Linux. Rainer --

Re: [ping**2] Handle MULTILIB_REUSE in auto-generated SYSROOT_SUFFIX_SPEC macro

2015-06-02 Thread Joseph Myers
On Tue, 19 May 2015, Sandra Loosemore wrote: Re-pinging a patch from last year that never got reviewed: https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00511.html OK. -- Joseph S. Myers jos...@codesourcery.com

Re: [patch] consolidate some includes into coretypes.h

2015-06-02 Thread Andrew MacLeod
On 06/02/2015 09:30 AM, Richard Biener wrote: On Tue, Jun 2, 2015 at 2:34 PM, Andrew MacLeod amacl...@redhat.com wrote: On 06/02/2015 04:26 AM, Richard Biener wrote: On Mon, Jun 1, 2015 at 11:02 PM, Andrew MacLeod amacl...@redhat.com wrote: Bootstraps from scratch on x86_64-unknown-linux-gnu

Re: [RFC / CFT] PR c++/66192 - Remove TARGET_RELAXED_ORDERING and use load acquires.

2015-06-02 Thread David Edelsohn
On Fri, May 29, 2015 at 9:18 AM, Ramana Radhakrishnan ramana.radhakrish...@foss.arm.com wrote: - Turns build_atomic_load into build_atomic_load_byte in order to do an atomic load of 1 byte instead of a full word atomic load. - Restructures get_guard_cond to decide whether to use an atomic

Re: [PATCH 01/35] Introduce new type-based pool allocator.

2015-06-02 Thread Richard Biener
On Tue, Jun 2, 2015 at 3:52 PM, Martin Liška mli...@suse.cz wrote: On 06/02/2015 11:48 AM, Andreas Schwab wrote: In file included from ../../gcc/stmt.c:78:0: ../../gcc/alloc-pool.h: In function 'void expand_sjlj_dispatch_table(rtx, vect\ ree_node*)': ../../gcc/alloc-pool.h:303:4: error:

[PATCH] Update check after force_const_mem call in the plus_constant function to see if the value returned is not a NULL_RTX.

2015-06-02 Thread Andrew Bennett
Hi, In the plus_constant function in explow.c the code to update a constant pool value does not deal with the case where the value returned from force_const_mem is a NULL_RTX. This occurs for the MIPS target because its cannot_force_const_mem target function does not allow constants (so that

[PATCH]: Neaten df_scan_start_dump dump

2015-06-02 Thread Uros Bizjak
Hello! 2015-06-02 Uros Bizjak ubiz...@gmail.com * df-scan.c (df_scan_start_dump): Add space between regno and regname. Tested on x86_64-linux-gnu, committed to mainline SVN. Uros. Index: df-scan.c === --- df-scan.c

[patch] Document resolved DRs in libstdc++ manual

2015-06-02 Thread Jonathan Wakely
This replaces our local copies of the LWG issues lists with the latest revisions (from http://www.open-std.org/jtc1/sc22/wg21/docs/lwg93.zip) and updates https://gcc.gnu.org/onlinedocs/libstdc++/manual/bugs.html#manual.intro.status.bugs.iso to document some of the DRs we've implemented in the

[PATCH] Remove stray cleanup-tree-dump

2015-06-02 Thread Richard Biener
Committed. Seems to cause half of the vectorizer tests to be dropped and test-summary breaking for me. Richard. 2015-06-02 Richard Biener rguent...@suse.de * gcc.dg/vect/vect-outer-simd-1.c: Remove stray cleanup-tree-dump. Index: gcc/testsuite/gcc.dg/vect/vect-outer-simd-1.c

Re: [PATCH][Testsuite] Disable tests with dg-require-fork for simulated targets

2015-06-02 Thread Alan Lawrence
Christophe Lyon wrote: On 18 May 2015 at 20:25, Mike Stump mikest...@comcast.net wrote: On May 18, 2015, at 8:01 AM, Alan Lawrence alan.lawre...@arm.com wrote: Simulators such as qemu report the presence of fork (it's in glibc) but generally do not support synchronization primitives between

Re: [PATCH 1/2] Memory statistics enhancement.

2015-06-02 Thread Jeff Law
On 06/01/2015 10:16 AM, mliska wrote: Hi. Following 2 patches improve memory statistics infrastructure. First one ports pool allocator to the new infrastructure. And the second one makes column alignment properly. Both can bootstrap on x86_64-linux-pc and survive regression tests. Ready for

Re: [PATCH 2/2] Fix memory report layout at various places.

2015-06-02 Thread Jeff Law
On 06/01/2015 10:36 AM, mliska wrote: gcc/ChangeLog: 2015-06-02 Martin Liska mli...@suse.cz * alloc-pool.h (struct pool_usage): Correct space padding. * ggc-page.c (ggc_print_statistics): Align columns in a report. * mem-stats.h (struct mem_usage): Add argument to

Re: [C patch] PR49551

2015-06-02 Thread Joseph Myers
On Sun, 31 May 2015, Prathamesh Kulkarni wrote: However DECL_COMMON (olddecl) is still incorrectly set to 1 after the call to memcpy(), while DECL_COMMON (olddecl) should be 0 for the above test-case. This patch tries to correctly adjust DECL_COMMON (newdecl) before it is copied into olddecl.

Re: [PATCH, 6/8] Add pass_copy_prop in pass_oacc_kernels

2015-06-02 Thread Tom de Vries
On 22-04-15 09:42, Richard Biener wrote: This patch adds pass_loop_ccp to pass group pass_oacc_kernels. We need this pass to simplify the loop body, and allow pass_parloops to detect that loop iterations are independent. As suggested here

Re: [wwwdocs] Buildstat update for 5.1

2015-06-02 Thread Gerald Pfeifer
On Mon, 1 Jun 2015, Tom G. Christensen wrote: Latest results for 5.1.x Thank you, Tom. This is online as well. Gerald

Re: [PATCH, 4/8] Add pass_tree_loop_{init,done} to pass_oacc_kernels

2015-06-02 Thread Tom de Vries
On 22-04-15 09:40, Richard Biener wrote: On Tue, 21 Apr 2015, Thomas Schwinge wrote: Hi! On Tue, 25 Nov 2014 12:29:28 +0100, Tom de Vries tom_devr...@mentor.com wrote: On 15-11-14 18:21, Tom de Vries wrote: On 15-11-14 13:14, Tom de Vries wrote: I'm submitting a patch series with initial

Re: [wwwdocs] Buildstat update for 4.9

2015-06-02 Thread Gerald Pfeifer
On Mon, 1 Jun 2015, Tom G. Christensen wrote: Testresults for 4.9.2: s390-ibm-linux-gnu (new) Applied as well, thanks, Tom! Gerald

Re: [wwwdocs] Buildstat update for 4.8

2015-06-02 Thread Gerald Pfeifer
On Mon, 1 Jun 2015, Tom G. Christensen wrote: Latest results for 4.8.x Applied, thanks Tom! Gerald

Re: [patch] consolidate some includes into coretypes.h

2015-06-02 Thread Andrew MacLeod
On 06/02/2015 04:26 AM, Richard Biener wrote: On Mon, Jun 1, 2015 at 11:02 PM, Andrew MacLeod amacl...@redhat.com wrote: Bootstraps from scratch on x86_64-unknown-linux-gnu with no new test regressions. I also built it on all the config-list.mk targets with no additional compilation errors.

[PINGv9][PATCH] ASan on unaligned accesses

2015-06-02 Thread Marat Zakirov
On 05/26/2015 05:03 PM, Marat Zakirov wrote: On 05/20/2015 10:01 AM, Marat Zakirov wrote: On 05/12/2015 02:16 PM, Marat Zakirov wrote: On 04/07/2015 03:22 PM, Jakub Jelinek wrote: How are the automatic misaligned variables different from say heap allocated ones, or global vars etc.? No

Re: [PATCH] Fix PR65549, avoid force_decl_die in late compilation

2015-06-02 Thread Jason Merrill
OK. Jason

Re: C++ PATCH for c++/44282 (ia32 calling convention attributes and mangling)

2015-06-02 Thread Jason Merrill
On 06/02/2015 07:34 AM, Uros Bizjak wrote: Unfortunately, something is wrong with the testcase itself: FAIL: g++.dg/abi/mangle-regparm.C -std=c++98 (test for excess errors) WARNING: g++.dg/abi/mangle-regparm.C -std=c++98 compilation failed to produce executable FAIL:

Re: [patch] consolidate some includes into coretypes.h

2015-06-02 Thread Richard Biener
On Tue, Jun 2, 2015 at 2:34 PM, Andrew MacLeod amacl...@redhat.com wrote: On 06/02/2015 04:26 AM, Richard Biener wrote: On Mon, Jun 1, 2015 at 11:02 PM, Andrew MacLeod amacl...@redhat.com wrote: Bootstraps from scratch on x86_64-unknown-linux-gnu with no new test regressions. I also built

Re: [PATCH 01/35] Introduce new type-based pool allocator.

2015-06-02 Thread Martin Liška
On 06/02/2015 11:48 AM, Andreas Schwab wrote: In file included from ../../gcc/stmt.c:78:0: ../../gcc/alloc-pool.h: In function 'void expand_sjlj_dispatch_table(rtx, vect\ ree_node*)': ../../gcc/alloc-pool.h:303:4: error: 'case_node_pool.pool_allocatorcase_node:\ :m_block_size' may be used

Re: [PATCH testsuite]Refine scanning string in pr65447.c to support small address offset target

2015-06-02 Thread Bernhard Reutner-Fischer
On June 2, 2015 5:56:13 AM GMT+02:00, Bin Cheng bin.ch...@arm.com wrote: Hi, On some arm processors, the offset supported in addressing modes is very small. As a result, the dozens of address induction variables will be grouped into several groups, rather than only one as on armv7/8. This patch

  1   2   >