RE: [PATCH 2/3, ARM, libgcc, ping1] Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2015-02-05 Thread Thomas Preud'homme
Ping? -Original Message- From: Thomas Preud'homme [mailto:thomas.preudho...@arm.com] Sent: Tuesday, January 27, 2015 1:38 PM To: Thomas Preud'homme; Richard Earnshaw; gcc-patches@gcc.gnu.org Cc: Ramana Radhakrishnan Subject: RE: [PATCH 2/3, ARM, libgcc, ping6] Code size optimization

RE: [PATCH, ARM, ping2] Backport Fix for PR64453: live high register not saved in function prolog with -Os

2015-02-05 Thread Thomas Preud'homme
Ping? -Original Message- From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- ow...@gcc.gnu.org] On Behalf Of Thomas Preud'homme Sent: Friday, January 23, 2015 4:23 PM To: Ramana Radhakrishnan Cc: gcc-patches Subject: RE: [PATCH, ARM] Fix PR64453: live high register not

RE: [PATCH, Aarch64, ping1] Add FMA steering pass for Cortex-A57

2015-02-05 Thread Thomas Preud'homme
Ping? -Original Message- From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- ow...@gcc.gnu.org] On Behalf Of Thomas Preud'homme Sent: Wednesday, January 28, 2015 6:02 PM To: 'Andrew Pinski' Cc: GCC Patches Subject: RE: [PATCH, Aarch64] Add FMA steering pass for Cortex-A57

[PATCH][target/17306] Fix funcvec and eightbit_data attribute handling on H8/300 port

2015-02-05 Thread Jeff Law
This is actually a long standing regression (though it's not marked that way in the BZ database). Basically there was a change from encoding the funcvec and eighbit_data attributes in the symbol name to instead putting them in the function decl's flags. This was, IMHO, a good thing.

Re: [patch, doc] copy-edit inline asm sections

2015-02-05 Thread David Wohlferd
On 2/5/2015 9:13 AM, Sandra Loosemore wrote: In addition to fixing markup and capitalization, I've moved things around a little bit to improve the flow, and rephrased a few things that I thought were awkward or confusing. I propose to commit this in a few days unless somebody tells me

Re: [patch] Fix PR target/62631

2015-02-05 Thread Jeff Law
On 02/05/15 08:53, Eric Botcazou wrote: Hi, this is the failure of gcc.dg/tree-ssa/ivopts-lt-2.c on SPARC 64-bit, but I think that the problem is actually generic: get_shiftadd_cost only calls shiftadd_cost to get the cost of a shift-add, which is actually a multiply by a power-of-2 operation.

Re: Fix PR64878: do not jump thread across two loop iterations

2015-02-05 Thread Jeff Law
On 02/04/15 14:20, Sebastian Pop wrote: Hi, The attached patch stops the recursion in the detection of FSM jump-threads at loop phi nodes after having visited a loop phi node. This avoids jump-threading two iterations forward that were possible due to a flip-flop operation that exchange the

[PATCH] maintainer-scripts: Fix 404s in Show Source in jit docs

2015-02-05 Thread David Malcolm
Tested locally with a suitably hacked up script to work on this machine; with this patch the Show Sources links work within the files installed to /www/gcc/htdocs. OK for trunk? maintainer-scripts/ChangeLog: * update_web_docs_svn: When copying up files for the built jit

[PATCH][PR target/43264] Fix 24-28 ASHIFTRT for H8/300

2015-02-05 Thread Jeff Law
The H8/300 port was mis-compiling 24-28 bit ASHIFTRTs for the H8/300. These shifts are implemented by a copying the high byte to the low byte, then extending the sign bit through the low middle, high middle and high bytes (with compensation code for 25,26,27,28 bit shifts). The problem was

Re: [PATCH]Keep location info when expand complex component-wise load/store.

2015-02-05 Thread Jeff Law
On 02/05/15 04:22, Renlin Li wrote: Hi all, location information is missing when rewrite complex component-wise load/store. This patch add the location info to fix the recently gcc.dg/uninit-13.c and gcc.dg/uninit-17.c failures on arm target. The compiler warns uninitialised usage at the

[c++-concepts] Restore missing code from previous trunk merge

2015-02-05 Thread Braden Obrzut
A little bit of code went missing due to the constant expressions code being factored out. Additionally, concepts are currently dependent on changes to CPTK_IS_CONVERTIBLE_TO, so this patch restores that. I'm told that this was removed from trunk and that the concepts branch will be adapted

libgo patch committed: Add memprofilerate as GODEBUG option

2015-02-05 Thread Ian Lance Taylor
This patch from Lynn Boger adds memprofilerate as an option for the GODEBUG environment variable, to match the gc compiler. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline. Ian diff -r 18b325ce33aa libgo/go/runtime/extern.go --- a/libgo/go/runtime/extern.go

[Ada] Add optional argument for tool name to pragma Warnings

2015-02-05 Thread Arnaud Charlet
Users of GNATprove can now specify pragma Warnings for GNAT and GNATprove separately, to selectively disable warnings from the compiler or the formal verification tool. This also allows detecting useless pragma Warnings with switch -gnatw.w Tested on x86_64-pc-linux-gnu, committed on trunk

Re: [PATCH] rs6000: Fix huge compile time on thunks (PR64580)

2015-02-05 Thread Segher Boessenkool
On Thu, Jan 29, 2015 at 04:38:21PM -0800, Segher Boessenkool wrote: 2015-01-29 Segher Boessenkool seg...@kernel.crashing.org gcc/ PR target/64580 * config.rs6000/rs6000.c (compute_vrsave_mask): Reverse loop order. (rs6000_stack_info): Add assert.

Re: [PATCH] rs6000: Fix huge compile time on thunks (PR64580)

2015-02-05 Thread David Edelsohn
On Thu, Feb 5, 2015 at 9:50 AM, Segher Boessenkool seg...@kernel.crashing.org wrote: On Thu, Jan 29, 2015 at 04:38:21PM -0800, Segher Boessenkool wrote: 2015-01-29 Segher Boessenkool seg...@kernel.crashing.org gcc/ PR target/64580 * config.rs6000/rs6000.c (compute_vrsave_mask):

Re: Fix PR64876, regressions in powerpc64 Go testsuite

2015-02-05 Thread Alan Modra
On Thu, Feb 05, 2015 at 08:12:25AM +0100, Jakub Jelinek wrote: On Thu, Feb 05, 2015 at 02:09:54PM +1030, Alan Modra wrote: Jakub, was your suggestion to use get_last_insn_anywhere() based on not wanting to expose details that should be internal to emit-rtl.[ch]? Yes. But if it doesn't

[Patch Testsuite, obvious] Workaround fragility in gcc.dg/tree-ssa/foldconst-6.c

2015-02-05 Thread James Greenhalgh
Just to ensure that this obvious commit gets noted... ( the other copy of the patch is buried in this AArch64 specific thread: https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00328.html ) By the sort of exceptional bad luck that only comes around once every thousand builtins, we now define enough

Re: [PATCH] PR rtl-optimization/64905: Clear hard frame pointer alignment if not needed

2015-02-05 Thread Uros Bizjak
Hello! When hard frame pointer isn't needed, the register for hard frame pointer may be reused. This patch clears alignment on hard frame pointer if hard frame pointer isn't needed. OK for trunk after bootstrap and test on Linux/x86-64? LRA can set up frame_pointer_needed in some

[PATCH] Fix DECL_ABSTRACT_P/BLOCK_ABSTRACT handling in dwarf2out.c (PR middle-end/64937)

2015-02-05 Thread Jakub Jelinek
Hi! On the following testcase we fail -fcompare-debug, because in .LASAN0 initializer we get a NOP_EXPR optimized away only in one of the cases. The reason is that cgraph* is looking at DECL_ABSTRACT_P flag of __PRETTY_FUNCTION__ and that flag is different between -g and -g0. The DECL_ABSTRACT_P

[patch] Fix PR target/62631

2015-02-05 Thread Eric Botcazou
Hi, this is the failure of gcc.dg/tree-ssa/ivopts-lt-2.c on SPARC 64-bit, but I think that the problem is actually generic: get_shiftadd_cost only calls shiftadd_cost to get the cost of a shift-add, which is actually a multiply by a power-of-2 operation. Since SPARC doesn't have a lea-like

Re: PR lto/64837: lto plugin doesn't call ld_plugin_release_input_file

2015-02-05 Thread H.J. Lu
On Thu, Feb 5, 2015 at 8:42 AM, H.J. Lu hjl.to...@gmail.com wrote: On Wed, Jan 28, 2015 at 4:02 PM, H.J. Lu hjl.to...@gmail.com wrote: On Wed, Jan 28, 2015 at 11:37 AM, H.J. Lu hjl.to...@gmail.com wrote: On Wed, Jan 28, 2015 at 11:19 AM, Richard Biener richard.guent...@gmail.com wrote: On

Re: [Patch, Fortran] PR64943 Fix I/O diagnostic for structure constructors

2015-02-05 Thread Paul Richard Thomas
Dear Tobias, That is OK for trunk. Thanks for the patch. Paul On 5 February 2015 at 22:04, Tobias Burnus bur...@net-b.de wrote: A rather simple patch. Build and reg-tested on x86-64-gnu-linux. OK for the trunk? Tobias -- Outside of a dog, a book is a man's best friend. Inside of a

RE: [PATCH v2][MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-02-05 Thread Matthew Fortune
Hi Petar, I've put your patch inline below and switched to plain text. I suspect your post was bounced by gcc-patches. I'm OK with this change but I'd like Catherine to comment before committing. It seems a shame to duplicate the block of code but it is probably just as ugly to define a macro

[Patch, Fortran] PR64943 Fix I/O diagnostic for structure constructors

2015-02-05 Thread Tobias Burnus
A rather simple patch. Build and reg-tested on x86-64-gnu-linux. OK for the trunk? Tobias 2015-02-05 Tobias Burnus bur...@net-b.de PR fortran/64943 * resolve.c (resolve_transfer): Also check structure constructors. 2015-02-05 Tobias Burnus bur...@net-b.de PR fortran/64943 *

Re: [PATCH x86_64] Optimize access to globals in -fpie -pie builds with copy relocations

2015-02-05 Thread H.J. Lu
On Thu, Feb 5, 2015 at 10:54 AM, Richard Henderson r...@redhat.com wrote: On 02/04/2015 03:29 PM, H.J. Lu wrote: +++ b/gcc/varasm.c @@ -6826,11 +6826,17 @@ default_binds_local_p_1 (const_tree exp, int shlib) (TREE_STATIC (exp) || DECL_EXTERNAL (exp))) { varpool_node

RE: [MIPS] fix CRT_CALL_STATIC_FUNCTION macro

2015-02-05 Thread Petar Jovanovic
This is a follow-up to a change [1] in glibc. It fixes the issue [2] when jal can not reach a target in different region. Is it not a problem that can be solved with rearranging the order of sections in output? Is not this more clean solution to it? Otherwise we need to make sure that

Re: [PATCH][AArch64] Use target builtin instead of __builtin_sqrt for vsqrt_f64

2015-02-05 Thread Christophe Lyon
On 4 February 2015 at 12:38, Marcus Shawcroft marcus.shawcr...@gmail.com wrote: On 12 January 2015 at 15:52, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, As raised in https://gcc.gnu.org/ml/gcc-patches/2014-12/msg01237.html and discussed in that thread, using __builtin_sqrt for

Re: Fix PR64876, regressions in powerpc64 Go testsuite

2015-02-05 Thread David Edelsohn
On Thu, Feb 5, 2015 at 5:29 AM, Alan Modra amo...@gmail.com wrote: On Thu, Feb 05, 2015 at 08:12:25AM +0100, Jakub Jelinek wrote: On Thu, Feb 05, 2015 at 02:09:54PM +1030, Alan Modra wrote: Jakub, was your suggestion to use get_last_insn_anywhere() based on not wanting to expose details that

[Ada] missing error on interface overriding

2015-02-05 Thread Arnaud Charlet
If an inherited subprogram is implemented by a protected function, then the first parameter of the inherited subprogram shall be of mode in, but not an access-to-variable parameter (RM 9.4(11/9) After this patch the error is reported in the following example: procedure by30015_01p is package

Re: Fix PR64878: do not jump thread across two loop iterations

2015-02-05 Thread Jakub Jelinek
On Thu, Feb 05, 2015 at 08:21:46AM +0100, Richard Biener wrote: On February 4, 2015 10:20:06 PM CET, Sebastian Pop seb...@gmail.com wrote: The attached patch stops the recursion in the detection of FSM jump-threads at loop phi nodes after having visited a loop phi node. This avoids

[PATCH] Avoid the redundant DW_TAG_lexical_block below DW_TAG_subprogram emitted by C++ FE (PR debug/55541)

2015-02-05 Thread Jakub Jelinek
Hi! Long time ago, probably all FEs or most of them emitted an extra BLOCK around the BLOCK corresponding to user scope of the function, then the C FE has been changed not to and no_body_blocks langhook has been added for it (and Java/Ada/Fortran were mishandled), later on r144474 removed the

Re: [PATCH x86_64] Optimize access to globals in -fpie -pie builds with copy relocations

2015-02-05 Thread Sriraman Tallam
On Thu, Feb 5, 2015 at 11:59 AM, Richard Henderson r...@redhat.com wrote: On 02/05/2015 11:01 AM, H.J. Lu wrote: Can you elaborate why it depends on COPY relocation? There is no COPY relocation on x86-64. Ho hum, we appear to have switched topics mid-thread. I agree that we cannot override

Re: [PATCH x86_64] Optimize access to globals in -fpie -pie builds with copy relocations

2015-02-05 Thread Sriraman Tallam
: .text .LHOTE0: .weak .bss .align 4 .type , @object .size , 4 : .zero 4 .ident GCC: (GNU) 5.0.0 20150205 (experimental) .section .note.GNU-stack,,@progbits .file initweak.i .section .text.unlikely,ax,@progbits .LCOLDB0: .text .LHOTB0

Re: [PATCH x86_64] Optimize access to globals in -fpie -pie builds with copy relocations

2015-02-05 Thread H.J. Lu
GCC: (GNU) 5.0.0 20150205 (experimental) .section .note.GNU-stack,,@progbits .file initweak.i .section .text.unlikely,ax,@progbits .LCOLDB0: .text .LHOTB0: .p2align 4,,15 .globl foo .type foo, @function foo: .LFB0: .cfi_startproc movl (%rip), %eax ret .cfi_endproc .LFE0: .size foo, .-foo

emit-rtl tidy

2015-02-05 Thread Alan Modra
On Thu, Feb 05, 2015 at 08:59:01PM +1030, Alan Modra wrote: Thanks, I'll use it directly now and have a patch in the works to tidy m32c.c and rs6000.c. As threatened, the emit-rtl tidy. Besides adding a couple of accessors, I've moved x_first_insn and x_last_insn into a struct sequence_stack.

Re: emit-rtl tidy

2015-02-05 Thread DJ Delorie
The m32c parts are OK.

[patch, doc] copy-edit inline asm sections

2015-02-05 Thread Sandra Loosemore
It looks to me like that, when the rewrite of the inline asm sections was committed last May (r210273), there was general agreement that it needed additional copy-editing to fix markup problems and the like. But, nobody ever followed up to do that. Here's my attempt. In addition to fixing

Re: PR lto/64837: lto plugin doesn't call ld_plugin_release_input_file

2015-02-05 Thread H.J. Lu
On Wed, Jan 28, 2015 at 4:02 PM, H.J. Lu hjl.to...@gmail.com wrote: On Wed, Jan 28, 2015 at 11:37 AM, H.J. Lu hjl.to...@gmail.com wrote: On Wed, Jan 28, 2015 at 11:19 AM, Richard Biener richard.guent...@gmail.com wrote: On January 28, 2015 7:12:43 PM CET, H.J. Lu hongjiu...@intel.com wrote:

[PR target/58400] Fix ICE due to not using _STRICT variant of REG_OK_FOR ... as needed

2015-02-05 Thread Jeff Law
As outlined in the PR, the h8300 U constraint handling uses REG_OK_FOR_BASE_P, which, most of the time is safe. However, once reload has started we must use the strict variant REG_OK_FOR_BASE_STRICT_P.Patch is from Joern, and I've included a freshly reduced testcase. Verified the

Fix ICE while building firefox with FDO

2015-02-05 Thread Jan Hubicka
Hi, my previous fix to ipa-prop actually causes ipa-cp to ICE during FDO build of firefox. What happens is that we produce speculative call that is off and leads to a method with wrong number of parameters. It would probably make a lot of sense to validate devirtualization with the actual type

Re: [PATCH x86_64] Optimize access to globals in -fpie -pie builds with copy relocations

2015-02-05 Thread Bernhard Reutner-Fischer
On February 5, 2015 12:29:40 AM GMT+01:00, H.J. Lu hjl.to...@gmail.com wrote: On Wed, Feb 4, 2015 at 3:10 PM, H.J. Lu hjl.to...@gmail.com wrote: On Wed, Feb 4, 2015 at 2:47 PM, Bernhard Reutner-Fischer rep.dot@gmail.com wrote: On February 4, 2015 11:37:01 PM GMT+01:00, H.J. Lu

Re: [debug-early] C++ clones and limbo DIEs

2015-02-05 Thread Aldy Hernandez
And what about namespace-scope variables? Maybe instead of checking for TRANSLATION_UNIT_DECL context this should check non-function context. Done. + /* This is the second iteration through the global symbols. Here we + pick up function statics that have been discovered by the call

Re: [PATCH][wwwdocs] Document support for Cortex-A72

2015-02-05 Thread Marcus Shawcroft
On 4 February 2015 at 17:34, Gerald Pfeifer ger...@pfeifer.com wrote: On Wednesday 2015-02-04 16:19, Matthew Wahab wrote: This patch documents in gcc-5/changes.html the addition of support for the Cortex-A72 to the ARM and the AArch64 backends. Looks good to me, but you may want to wait a

Re: [PATCH][AArch64] Use target builtin instead of __builtin_sqrt for vsqrt_f64

2015-02-05 Thread James Greenhalgh
On Thu, Feb 05, 2015 at 08:53:00AM +, Christophe Lyon wrote: On 4 February 2015 at 12:38, Marcus Shawcroft marcus.shawcr...@gmail.com wrote: On 12 January 2015 at 15:52, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, As raised in

[Ada] Fix missing index check with optimization on

2015-02-05 Thread Arnaud Charlet
In some unusual cases, the index check on a subscript of an unconstrained array was omitted. The following test program 1. package Out_Constraint_Violation is 2.type Arr is array (Natural range ) of Integer; 3.procedure Violate 4. (Input : Arr; Modifier : Arr;

Re: [PATCH] Fix PR64764

2015-02-05 Thread Tom de Vries
On 26-01-15 15:47, Richard Biener wrote: Index: gcc/testsuite/gcc.dg/uninit-19.c === --- gcc/testsuite/gcc.dg/uninit-19.c(revision 0) +++ gcc/testsuite/gcc.dg/uninit-19.c(working copy) @@ -0,0 +1,23 @@ +/* { dg-do compile }

RE: [PATCH, Aarch64] Add FMA steering pass for Cortex-A57

2015-02-05 Thread Thomas Preud'homme
From: Marcus Shawcroft [mailto:marcus.shawcr...@gmail.com] Sent: Thursday, February 05, 2015 5:17 PM OK but wait for stage-1 to open for general development before you commit it please. /Marcus Duly noted. Best regards, Thomas

[Ada] Handle WHEN used in place of WITH nicely

2015-02-05 Thread Arnaud Charlet
This patch improves the error recovery when WHEN is used in place of WITH for aspect specifications: 1. package WhenWith is 2.X : integer when Size = 4; | when should be with 3.Y : integer when Rubbish; |

Re: Fix PR64876, regressions in powerpc64 Go testsuite

2015-02-05 Thread Alan Modra
On Thu, Feb 05, 2015 at 11:31:53AM +0100, Jakub Jelinek wrote: On Thu, Feb 05, 2015 at 08:59:01PM +1030, Alan Modra wrote: On Thu, Feb 05, 2015 at 08:12:25AM +0100, Jakub Jelinek wrote: On Thu, Feb 05, 2015 at 02:09:54PM +1030, Alan Modra wrote: Jakub, was your suggestion to use

RE: [PATCH,WWWDOCS] MIPS changes for GCC 5.0

2015-02-05 Thread Matthew Fortune
Moore, Catherine catherine_mo...@mentor.com writes: Hi Matthew, I made a few edits. I removed the markup in the process, so that will need to be added back. See the text at the end. Thanks Catherine. Good call to remove the markup while reviewing. I've done one more pass on this to have

Re: Work around Firefox -fprofile-generate crash

2015-02-05 Thread Jakub Jelinek
On Thu, Feb 05, 2015 at 08:20:20AM +0100, Richard Biener wrote: On February 5, 2015 12:28:14 AM CET, Jan Hubicka hubi...@ucw.cz wrote: Hi, this patch avoids ICE in programs that uses multiple copies of libgcov at once. It is just a temporary workaround as discussed in the PR log. Tested on

Re: [libobjc] Fix failures on AIX (PR libobjc/63765)

2015-02-05 Thread Rainer Orth
Hi Andrew, On Wed, Feb 4, 2015 at 9:07 AM, Mike Stump mikest...@comcast.net wrote: On Feb 4, 2015, at 2:28 AM, Rainer Orth r...@cebitec.uni-bielefeld.de wrote: Rainer Orth r...@cebitec.uni-bielefeld.de writes: On Jan 28, 2015, Mike Stump mikest...@comcast.net wrote: On Jan 28, 2015, at

[Ada] Poor error message on pragma SPARK_Mode

2015-02-05 Thread Arnaud Charlet
This patch modifies the mode conformance checks of pragma SPARK_Mode to account for the case where the pragma appears without an argument. -- Source -- -- pack.ads package Pack is procedure Error; end Pack; -- pack.adb package body Pack is procedure Error

[PATCH]Keep location info when expand complex component-wise load/store.

2015-02-05 Thread Renlin Li
Hi all, location information is missing when rewrite complex component-wise load/store. This patch add the location info to fix the recently gcc.dg/uninit-13.c and gcc.dg/uninit-17.c failures on arm target. The compiler warns uninitialised usage at the variable's declaration location

[Ada] Record fatal errors in tree even in -gnatq/Q mode

2015-02-05 Thread Arnaud Charlet
This internal modification changes the representation of the Fatal_Error field in the unit record to record the presence of fatal errors even if -gnatq/Q is set. No functional effect for the compiler itself so no test now. This should allow an improvement in ASIS processing which will be

[wwwdocs, patch] Add libgccjit to gcc-5/changes.html

2015-02-05 Thread David Malcolm
This patch adds an h2-level section about libgccjit between the sections on languages and targets. It has various links to the documentation (now that that's on the website), and to a couple of 3rd party repos (the Python and D bindings). It also mentions the license of the library. OK to

[C++ Patch] PR 60211

2015-02-05 Thread Paolo Carlini
Hi, in this (mild) ICE on invalid 4.9/5 regression things go wrong in various ways when we try to use cp_parser_iteration_statement at top-level. I think the simplest thing to do is just returning early, then cp_parser_declaration will emit an appropriate diagnostic (the same produced when

Re: [PATCH x86_64] Optimize access to globals in -fpie -pie builds with copy relocations

2015-02-05 Thread Richard Henderson
On 02/04/2015 03:29 PM, H.J. Lu wrote: +++ b/gcc/varasm.c @@ -6826,11 +6826,17 @@ default_binds_local_p_1 (const_tree exp, int shlib) (TREE_STATIC (exp) || DECL_EXTERNAL (exp))) { varpool_node *vnode = varpool_node::get (exp); - if (vnode (resolution_local_p

[Ada] Fix bootstrapping on darwin9/10 (PR64349)

2015-02-05 Thread Arnaud Charlet
Move Darwin case before default one. Hopefully should be the last iteration on this PR, sorry about the confusion! Committed on trunk. 2015-02-05 Tristan Gingold ging...@adacore.com PR ada/64349 * env.c: Fix thinko: handle Darwin case before default one. Index: env.c

Re: [PATCH, Aarch64] Add FMA steering pass for Cortex-A57

2015-02-05 Thread Marcus Shawcroft
On 28 January 2015 at 10:01, Thomas Preud'homme thomas.preudho...@arm.com wrote: From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- ow...@gcc.gnu.org] On Behalf Of Thomas Preud'homme Hi Andrew, cortex-a57-fma-steering.c is really meant to be autosufficient with

Re: Fix PR64876, regressions in powerpc64 Go testsuite

2015-02-05 Thread Jakub Jelinek
On Thu, Feb 05, 2015 at 08:59:01PM +1030, Alan Modra wrote: On Thu, Feb 05, 2015 at 08:12:25AM +0100, Jakub Jelinek wrote: On Thu, Feb 05, 2015 at 02:09:54PM +1030, Alan Modra wrote: Jakub, was your suggestion to use get_last_insn_anywhere() based on not wanting to expose details that

Re: Fix PR64878: do not jump thread across two loop iterations

2015-02-05 Thread Sebastian Pop
Jakub Jelinek wrote: On Thu, Feb 05, 2015 at 08:21:46AM +0100, Richard Biener wrote: On February 4, 2015 10:20:06 PM CET, Sebastian Pop seb...@gmail.com wrote: The attached patch stops the recursion in the detection of FSM jump-threads at loop phi nodes after having visited a loop phi

Re: [PATCH x86_64] Optimize access to globals in -fpie -pie builds with copy relocations

2015-02-05 Thread Richard Henderson
On 02/05/2015 11:01 AM, H.J. Lu wrote: Can you elaborate why it depends on COPY relocation? There is no COPY relocation on x86-64. Ho hum, we appear to have switched topics mid-thread. I agree that we cannot override a weak symbol in the executable with even a non-weak symbol in a shared

Re: [debug-early] C++ clones and limbo DIEs

2015-02-05 Thread Jason Merrill
On 02/04/2015 07:27 PM, Aldy Hernandez wrote: + /* Anything who's context is not a TRANSLATION_UNIT_DECL will + be handled by either handling reachable functions below, or + by generating DIEs for types. */ whose And what about namespace-scope variables? Maybe