Option overriding in the offloading code path (was: [nvptx] -freorder-blocks-and-partition, -freorder-functions)

2015-02-25 Thread Thomas Schwinge
Hi! On Wed, 11 Feb 2015 15:50:20 +0100, I wrote: On Wed, 11 Feb 2015 15:44:26 +0100, I wrote: If -freorder-blocks-and-partition is active, this results in PTX code such as: [...] Such partitioning might not make a lot of sense for the virtual ISA that PTX is, but disabling it in

Re: [PATCH] Optimize bfi by remove redundant zero_extend

2015-02-25 Thread Renlin Li
On 13/02/15 17:04, Richard Henderson wrote: On 02/13/2015 08:26 AM, Renlin Li wrote: + /* Complete overlap. We can remove the source ZERO_EXTEND. */ + if (width == inner_size + (regno FIRST_PSEUDO_REGISTER) + HARD_REGNO_MODE_OK (regno, mode)) + { + rtx

RE: [Patch][ARM]Don't put volatile memory access in IT block for cortex-m7

2015-02-25 Thread Terry Guo
-Original Message- From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- ow...@gcc.gnu.org] On Behalf Of Richard Earnshaw Sent: Wednesday, February 18, 2015 2:45 AM To: Terry Guo; gcc-patches@gcc.gnu.org Cc: Richard Earnshaw; Ramana Radhakrishnan Subject: Re: [Patch][ARM]Don't

Re: [PR58315] reset inlined debug vars at return-to point

2015-02-25 Thread Richard Biener
On Wed, Feb 25, 2015 at 10:40 AM, Alexandre Oliva aol...@redhat.com wrote: This patch fixes a problem that has been with us for several years. Variable tracking has no idea about the end of the lifetime of inlined variables, so it keeps on computing locations for them over and over, even

Re: [patch]: [Bug tree-optimization/61917] [4.9/5 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread Richard Biener
On Wed, Feb 25, 2015 at 11:06 AM, Kai Tietz ktiet...@googlemail.com wrote: Hello, ChangeLog 2015-02-25 Kai Tietz kti...@redhat.com PR tree-optimization/61917 * tree-vect-loop.c (vectorizable_reduction): Allow vect_internal_def without reduction to exit graceful. ChagneLog

Re: [Ada] convert GNAT doc to sphinx

2015-02-25 Thread Joseph Myers
On Sun, 22 Feb 2015, Arnaud Charlet wrote: Two .png files were missing, now added: 2015-02-22 Arnaud Charlet char...@adacore.com * doc/gnat_ugn/project-manager-figure.png, doc/gnat_ugn/rtlibrary-structure.png: New. The

libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks (was: Merge current set of OpenACC changes from gomp-4_0-branch)

2015-02-25 Thread Thomas Schwinge
Hi! On Tue, 24 Feb 2015 11:29:51 +, Julian Brown jul...@codesourcery.com wrote: On Wed, 4 Feb 2015 15:05:45 + Julian Brown jul...@codesourcery.com wrote: The major changes are: [...] Thanks for looking into this! This is a version of the previously-posted patch to rework

[PR58315] reset inlined debug vars at return-to point

2015-02-25 Thread Alexandre Oliva
This patch fixes a problem that has been with us for several years. Variable tracking has no idea about the end of the lifetime of inlined variables, so it keeps on computing locations for them over and over, even though the computed locations make no sense whatsoever because the variable can't

Re: [PATCH][wwwdocs] Mention xgene-1 in arm and aarch64, FreeBSD support for arm

2015-02-25 Thread Kyrill Tkachov
On 13/02/15 10:14, Richard Earnshaw wrote: On 13/02/15 09:52, Kyrill Tkachov wrote: Hi all, This patch to changes.html mentions the xgene1 support in GCC 5 for arm and aarch64 and also the FreeBSD support for ARM. Is this ok? The repetitive nature of all these new cpus being added looks

[patch]: [Bug tree-optimization/61917] [4.9/5 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread Kai Tietz
Hello, ChangeLog 2015-02-25 Kai Tietz kti...@redhat.com PR tree-optimization/61917 * tree-vect-loop.c (vectorizable_reduction): Allow vect_internal_def without reduction to exit graceful. ChagneLog testsuite/ 2015-02-25 Kai Tietz kti...@redhat.com PR

Re: Patch ping

2015-02-25 Thread Richard Biener
On Wed, 25 Feb 2015, Jakub Jelinek wrote: On Wed, Feb 18, 2015 at 11:00:35AM +0100, Jakub Jelinek wrote: On Tue, Feb 17, 2015 at 11:00:14AM +0100, Richard Biener wrote: I'm just looking for a way to make this less of a hack (and the LTO IL less target dependent). Not for GCC 5 for which

[PATCH, CHKP, PR target/65183] Avoid wrong pass local data usage

2015-02-25 Thread Ilya Enkovich
Hi, This patch fixes a case when outdated checker local data is used to process external calls. Bootstrapped and tested on x86_64-unknown-linux-gnu. OK for trunk? Thanks, Ilya -- gcc/ 2015-02-25 Ilya Enkovich ilya.enkov...@intel.com PR target/65183 * tree-chkp.c

Re: [PATCH PR65161]

2015-02-25 Thread Yuri Rumyantsev
Hi All, I prepared new patch which includes test-case. I can't agree with patch proposed by Alexander since other functions doing ready list reordering also use HID interface, so I put escape check in ix86_sched_reorder. Is it OK for trunk? 2015-02-25 Yuri Rumyantsev ysrum...@gmail.com PR

ipa-icf::merge TLC

2015-02-25 Thread Jan Hubicka
Hi, this patch reorganize sem_function::merge and sem_variable::merge. I read the code in detail and found several issues that are fixed in the following patch. 1) The logic whether address matters was wrong and ignored symbol aliases. I separated it into symtab_node::address_matters

Re: [patch, avr] Tidy up avr-log.c

2015-02-25 Thread Denis Chertykov
2015-02-24 16:09 GMT+03:00 Georg-Johann Lay a...@gjlay.de: avr-log.c and respective macros in avr-protos.h still assume that the implementation language is C90, i.e. no variadic macros are available. This patch cleans up the code from the cumbersome old approach and uses variadic macros for

Re: [patch]: [Bug tree-optimization/61917] [4.9/5 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread Kai Tietz
2015-02-25 11:57 GMT+01:00 Richard Biener richard.guent...@gmail.com: On Wed, Feb 25, 2015 at 11:06 AM, Kai Tietz ktiet...@googlemail.com wrote: Hello, ChangeLog 2015-02-25 Kai Tietz kti...@redhat.com PR tree-optimization/61917 * tree-vect-loop.c (vectorizable_reduction): Allow

Re: [Patch][ARM]Don't put volatile memory access in IT block for cortex-m7

2015-02-25 Thread Richard Earnshaw
On 25/02/15 10:42, Terry Guo wrote: -Original Message- From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- ow...@gcc.gnu.org] On Behalf Of Richard Earnshaw Sent: Wednesday, February 18, 2015 2:45 AM To: Terry Guo; gcc-patches@gcc.gnu.org Cc: Richard Earnshaw; Ramana Radhakrishnan

Re: [Ada] convert GNAT doc to sphinx

2015-02-25 Thread Arnaud Charlet
Two .png files were missing, now added: 2015-02-22 Arnaud Charlet char...@adacore.com * doc/gnat_ugn/project-manager-figure.png, doc/gnat_ugn/rtlibrary-structure.png: New. The maintainer-scripts/update_web_docs_svn script is still producing

Re: [Ada] convert GNAT doc to sphinx

2015-02-25 Thread Joseph Myers
On Wed, 25 Feb 2015, Arnaud Charlet wrote: Two .png files were missing, now added: 2015-02-22 Arnaud Charlet char...@adacore.com * doc/gnat_ugn/project-manager-figure.png, doc/gnat_ugn/rtlibrary-structure.png: New. The

Re: [Ada] convert GNAT doc to sphinx

2015-02-25 Thread Arnaud Charlet
So you need to update the find command therein not to remove anything that's part of the sources for this documentation, and possibly update -I options for building manuals as well. I've added a -I gcc/gcc/ada/doc/gnat_ugn there, that's as far as my knowledge goes for this script so I hope

Re: [patch]: [Bug tree-optimization/61917] [4.9/5 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread Richard Biener
On Wed, Feb 25, 2015 at 12:05 PM, Kai Tietz ktiet...@googlemail.com wrote: 2015-02-25 11:57 GMT+01:00 Richard Biener richard.guent...@gmail.com: On Wed, Feb 25, 2015 at 11:06 AM, Kai Tietz ktiet...@googlemail.com wrote: Hello, ChangeLog 2015-02-25 Kai Tietz kti...@redhat.com PR

Re: [PATCH] Use DO_PRAGMA in libgomp.oacc-c-c++-common/reduction-1.c

2015-02-25 Thread Thomas Schwinge
Hi! On Mon, 23 Feb 2015 18:14:35 +0100, Tom de Vries tom_devr...@mentor.com wrote: On 23-02-15 17:08, Jakub Jelinek wrote: On Mon, Feb 23, 2015 at 04:52:56PM +0100, Tom de Vries wrote: The only thing I'm not sure about is the two-level pragma expansion using the apply pragmas. It maximizes

<    1   2