RE: [PATCH, ARM] Backport fix for PR59593 (minipool of small values on big endian targets)

2015-03-03 Thread Thomas Preud'homme
> From: Ramana Radhakrishnan [mailto:ramana@googlemail.com] > Sent: Tuesday, February 17, 2015 4:08 PM > To: Thomas Preud'homme > Cc: gcc-patches; Richard Earnshaw; Ramana Radhakrishnan; Marcus > Shawcroft; Richard Biener; Jakub Jelinek > Subject: Re: [PATCH, ARM] Backport fix for PR59593 (mini

Re: [patch/committed] PR middle-end/65233 make walk-ssa_copies handle empty PHIs

2015-03-03 Thread Jeff Law
On 03/02/15 01:38, Richard Biener wrote: On Mon, Mar 2, 2015 at 6:34 AM, Aldy Hernandez wrote: As I mention in the PR... What's happening here is that the ipa_polymorphic_call_context constructor is calling walk_ssa_copies on a PHI node that has no arguments. This happens because finalize_jum

Fix ICE on thunks in tree-sra

2015-03-03 Thread Jan Hubicka
Hi, fix for comdat sections I am going to send incrementally triggers bug in tree-sra that is trying to access a non-existing call statement in thunk. While theoretically tree-sra can handle thunks - simply turn them into wrappers when doing the transformation, I just hardened a check to disable i

Re: [PATCH] PR target/65248: [5 Regression] Copy relocation in PIE against protected symbol

2015-03-03 Thread Alan Modra
On Tue, Mar 03, 2015 at 06:20:05AM -0800, H.J. Lu wrote: > For x86-64, protected data symbols are impossible. Impossible? This is not even true currently since -fPIC emits code that looks like it would fully support protected visibiliy variables in shared libraries. If you meant to say it is imp

Re: [PATCH][ARM]Automatically add -mthumb for thumb-only target when mode isn't specified

2015-03-03 Thread Terry Guo
On Wed, Mar 4, 2015 at 10:44 AM, Terry Guo wrote: > On Mon, Mar 2, 2015 at 9:08 PM, Maxim Kuvyrkov > wrote: >>> On Mar 2, 2015, at 4:44 AM, Terry Guo wrote: >>> >>> Hi there, >>> >>> If target mode isn't specified via either gcc configuration option >>> --with-mode or command line, this patch in

Re: Strengthen ICF hash

2015-03-03 Thread Mikhail Maltsev
03.03.2015 10:25, Jan Hubicka writes: >>> >>> The hash itself is quite simple (borrowing incremental hash for constants >>> adding >>> very simple match for other stuff + logic to skip things that may match >>> even if >>> they are syntactticaly different). The hash can be strenghtened >>> sign

Re: [PATCH][ARM]Automatically add -mthumb for thumb-only target when mode isn't specified

2015-03-03 Thread Terry Guo
On Mon, Mar 2, 2015 at 9:08 PM, Maxim Kuvyrkov wrote: >> On Mar 2, 2015, at 4:44 AM, Terry Guo wrote: >> >> Hi there, >> >> If target mode isn't specified via either gcc configuration option >> --with-mode or command line, this patch intends to improve gcc driver to >> automatically add option -m

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

2015-03-03 Thread Thomas Preud'homme
Done for backport to 4.8. Best regards, Thomas > -Original Message- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > ow...@gcc.gnu.org] On Behalf Of Thomas Preud'homme > Sent: Tuesday, March 03, 2015 5:35 PM > To: Ramana Radhakrishnan > Cc: gcc-patches; Richard Biener; Jakub

[PATCH] target/65286 - Disable multilib for ppc64le

2015-03-03 Thread Martin Sebor
The attached patch resolves PR 65286 by adding --disable-multilib when configuring for a ppc64le target. Martin diff --git a/ChangeLog b/ChangeLog index bd43281..46ec13d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-03-03 Martin Sebor + + PR target/65286 + * configure.ac (powerpc

[patch committed SH] Fix PR target/65249

2015-03-03 Thread Kaz Kojima
The attached patches are to fix PR target/65249 which is a 4.9/5 regression. It avoids yet another R0_REGS spill failure with pre-allocating R0 reg in symGOT_load when the loading symbol is __stack_chk_guard. Although the problem went away with -mlra and LRA would be the real fix for this issue,

[rl78] more far addr edge cases

2015-03-03 Thread DJ Delorie
More edge cases regarding far addresses. Committed. * config/rl78/rl78-real.md (*addqi_real): Allow SADDR types for inc/dec. (*addhi3_real): Likewise. * config/rl78/rl78-virt.md (*inc3_virt): Additional pattern to match incrementing memory. * confi

[PATCH] PR 65138, Fix PowerPC little endian -flto bugs, GCC 4.9 backport

2015-03-03 Thread Michael Meissner
This is the backport of the fixes for PR 65138/target (not using --with-cpu during configuration means that several lto tests fail on little endian 64-bit PowerPC systems). I found in doing the patches, I also needed to apply the changes on January 19th to properly set the TARGET_DEFAULT on 64-bit

Re: [google/gcc-4_9] Minor changes to -ftwo-level-line-tables

2015-03-03 Thread Dehao Chen
ok for google branch. Dehao On Tue, Mar 3, 2015 at 12:26 PM, Cary Coutant wrote: >>> @@ -21817,22 +21823,39 @@ out_subprog_directive (subprog_entry *su >>> { >>>tree decl = subprog->decl; >>>tree decl_name = DECL_NAME (decl); >>> - const char *name; >>> + tree origin; >> >> Explicitly

Re: [google/gcc-4_9] Minor changes to -ftwo-level-line-tables

2015-03-03 Thread Cary Coutant
>> @@ -21817,22 +21823,39 @@ out_subprog_directive (subprog_entry *su >> { >>tree decl = subprog->decl; >>tree decl_name = DECL_NAME (decl); >> - const char *name; >> + tree origin; > > Explicitly initialize origin to NULL_TREE; Done. >> + /* For inlined subroutines, use the linkage n

Re: [patch/committed] PR middle-end/65233 make walk-ssa_copies handle empty PHIs

2015-03-03 Thread Jan Hubicka
> On Mon, Mar 2, 2015 at 6:34 AM, Aldy Hernandez wrote: > > As I mention in the PR... > > > > What's happening here is that the ipa_polymorphic_call_context constructor > > is calling walk_ssa_copies on a PHI node that has no arguments. This > > happens because finalize_jump_threads eventually re

New German PO file for 'gcc' (version 5.1-b20150208)

2015-03-03 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the German team of translators. The file is available at: http://translationproject.org/latest/gcc/de.po (This file, 'gcc-5.1-b20150208.de.po', h

Re: ipa-icf::merge TLC

2015-03-03 Thread Jan Hubicka
> > Hi, > > > > I built with r221117. I see errors while building following targets: > > aarch64_be-none-linux-gnu, aarch64_be-none-linux-gnu, > > arm-none-linux-gnueabihf, arm-none-linux-gnueabi. > > Indeed, it's broken again since r221099. Accidentally I reverted the var->alias check (probably

Re: RFA: RL78: Add muladdhi3 pattern

2015-03-03 Thread DJ Delorie
> The problem appears to be that GCC will create a multiply-plus-add > instruction to access the table regardless of whether the backend > supports such an instruction. I could not work out where in the > middle end this was occurring, so instead I created the patch below > which contai

Re: [google/gcc-4_9] Minor changes to -ftwo-level-line-tables

2015-03-03 Thread Dehao Chen
On Tue, Mar 3, 2015 at 11:25 AM, Cary Coutant wrote: > This patch is for the google/gcc-4_9 branch. > > With this patch, we output an empty name for non-inlined functions, > and change the -ftwo-level-all-subprogs option to override this > behavior to output linkage names instead. The consumer can

Re: RFA: RL78: Fix register constraints in rl78-real.md

2015-03-03 Thread DJ Delorie
> OK to apply ? Ok.

RE: [PATCH][AArch64] Make aarch64_min_divisions_for_recip_mul configurable

2015-03-03 Thread Wilco Dijkstra
> Andrew Pinski wrote: > On Tue, Mar 3, 2015 at 10:06 AM, Wilco Dijkstra wrote: > > This patch makes aarch64_min_divisions_for_recip_mul configurable for float > > and double. This > allows > > CPUs with really fast or multiple dividers to return 3 (or even 4) if that > > happens to be > faster

Re: [PATCH][AArch64] Make aarch64_min_divisions_for_recip_mul configurable

2015-03-03 Thread Andrew Pinski
On Tue, Mar 3, 2015 at 10:06 AM, Wilco Dijkstra wrote: > This patch makes aarch64_min_divisions_for_recip_mul configurable for float > and double. This allows > CPUs with really fast or multiple dividers to return 3 (or even 4) if that > happens to be faster > overall. No code generation change

Re: [patch] Fix ICE on unaligned record field

2015-03-03 Thread H.J. Lu
On Wed, Feb 25, 2015 at 7:43 AM, Martin Jambor wrote: > Hi Eric and Richard, > > On Tue, Jan 06, 2015 at 06:07:12PM +0100, Eric Botcazou wrote: >> Martin, >> >> > I suppose that could be done by something like the following, which I >> > have tested only very mildly so far, in particular I have no

Re: [patch] Fix invalid attributes in libstdc++

2015-03-03 Thread Jonathan Wakely
On 03/02/15 10:37 +, Iain Sandoe wrote: the following additional tweaks provide further work-arounds. ... checked on darwin12 and darwin14. Also checked on x86_64-linux, committed to trunk.

[patch] PR c++/65295: Allow return-value optimization for constexpr's

2015-03-03 Thread Aldy Hernandez
In constexpr handling, we can request an rval for a return-value both by an invisible reference and by virtue of named return value optimization. Fixed by removing the assert. Approved by Jason off-line. Committed to mainline. commit 1a8fdc708eeab70adc237193febf5f8db1eab995 Author: Aldy Hernan

[PATCH][AArch64] Make aarch64_min_divisions_for_recip_mul configurable

2015-03-03 Thread Wilco Dijkstra
This patch makes aarch64_min_divisions_for_recip_mul configurable for float and double. This allows CPUs with really fast or multiple dividers to return 3 (or even 4) if that happens to be faster overall. No code generation change - bootstrap & regression OK. ChangeLog: 2015-03-03 Wilco Dijkst

RE: [PATCH][ARM] PR target/64600 Fix another ICE with -mtune=xscale: properly sign-extend mask during constant splitting

2015-03-03 Thread Kyrill Tkachov
> -Original Message- > From: Kyrylo Tkachov > Sent: 27 February 2015 14:30 > To: Kyrylo Tkachov; GCC Patches > Cc: Ramana Radhakrishnan; Richard Earnshaw > Subject: RE: [PATCH][ARM] PR target/64600 Fix another ICE with - > mtune=xscale: properly sign-extend mask during constant splitting

Fix oversight in round_up_loc change

2015-03-03 Thread Eric Botcazou
The fix for PR c/60226 https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=212346 changed the type of the 'divisor' parameter of the round_up_loc function from 'int' to 'unsigned int'. Now the function does the usual masking dance with powers of two, in particular: t = build_int_cst (TRE

Re: [RFC 2/2] Implement call0 ABI for xtensa

2015-03-03 Thread Max Filippov
On Tue, Mar 3, 2015 at 7:13 PM, augustine.sterl...@gmail.com wrote: > On Sat, Feb 28, 2015 at 10:14 AM, Max Filippov wrote: >> call0 is an ABI that doesn't use register windows. > > This is OK for xtensa. Applied to trunk. Thanks! -- Max

Re: [PATCH] Fix PR ipa/65282

2015-03-03 Thread Jan Hubicka
> Hello. > > There's suggested patch for the issue, where regression test have been > running on x86_64-linux-pc. > > Ready for trunk after tests will be finished? > Thanks, > Martin > >From a186fc97c5f192b94cc571f611a50eb0f4f8a354 Mon Sep 17 00:00:00 2001 > From: mliska > Date: Tue, 3 Mar 201

Re: [PATCH] Fix PR ipa/65287

2015-03-03 Thread Jan Hubicka
> gcc/testsuite/ChangeLog: > > 2015-03-03 Martin Liska > > * gcc.dg/ipa/pr65287.c: New test. > > gcc/ChangeLog: > > 2015-03-03 Martin Liska > > PR ipa/65287 > * ipa-icf.c (sem_variable::parse): Skip all alias variables. OK Sorry, I must have inadverty reverted this. Ho

Re: [PATCH] Fix PR ipa/65282

2015-03-03 Thread Jan Hubicka
> Hello. > > There's suggested patch for the issue, where regression test have been > running on x86_64-linux-pc. > > Ready for trunk after tests will be finished? > Thanks, > Martin > >From a186fc97c5f192b94cc571f611a50eb0f4f8a354 Mon Sep 17 00:00:00 2001 > From: mliska > Date: Tue, 3 Mar 201

Re: [PATCH] Turn RETURN_ADDR_IN_PREVIOUS_FRAME into C expression

2015-03-03 Thread Max Filippov
On Tue, Mar 3, 2015 at 6:52 PM, H.J. Lu wrote: > On Tue, Mar 3, 2015 at 7:05 AM, Max Filippov wrote: >> On Tue, Mar 3, 2015 at 5:51 PM, Richard Henderson wrote: >>> On 03/02/2015 10:42 PM, Max Filippov wrote: gcc/ * builtins.c (expand_builtin_return_addr): Add RETURN_A

Minor MAINTAINERS updates

2015-03-03 Thread Jeff Law
It's been reported that Paul's address is no longer active and Paul hasn't been active in some time. Obviously if he returns to GCC development, we'd welcome him with open arms. But in the mean time, listing him as a maintainer doesn't make much sense. Separately, I've had a conversation w

Re: [PATCH, alpha]: Fix PR/47230 [4.6/4.7 Regression] gcc fails to bootstrap on alpha in stage2 with "relocation truncated to fit: GPREL16 against ..."

2015-03-03 Thread Uros Bizjak
On Tue, Mar 3, 2015 at 3:14 PM, Uros Bizjak wrote: > On Mon, Mar 2, 2015 at 7:23 PM, Richard Henderson wrote: > >>> Unfortunately, while "normal" bootstrap works OK with alpha-linux-gnu >>> and alphaev68-linux-gnu, the bootstrap still fails when configured >>> --with-build-config=bootstrap-lto: >

[COMMITTED][DOC]Fix an obvious typo in md.texi

2015-03-03 Thread Renlin Li
Hi all, I have just committed this simple and obvious patch to fix a typo for "^" multiple alternative constraints in md.texi. Doc builds Okay. SVN revision link: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=221152 ChangeLog: 2015-03-03 Renlin Li * gcc/doc/md.texi (@item ^)

[PATCH][AArch64] Use conditional negate for abs expansion

2015-03-03 Thread Wilco Dijkstra
Expand abs into a compare and conditional negate. This is the most obvious expansion, enables merging of the comparison into ALU instructions and is faster on all implementations. Bootstrapped & regression tested. int f(int x) { return abs (x + 1); } Before: add w0, w0, 1 sx

Re: [RFC 2/2] Implement call0 ABI for xtensa

2015-03-03 Thread augustine.sterl...@gmail.com
On Sat, Feb 28, 2015 at 10:14 AM, Max Filippov wrote: > call0 is an ABI that doesn't use register windows. > > 2015-02-28 Max Filippov > > gcc/ > * config/xtensa/constraints.md ("a" constraint): Include stack > pointer in case of call0 ABI. > ("q" constraint): Make empty

Re: [PATCH] PR rtl-optimization/32219: optimizer causees wrong code in pic/hidden/weak symbol checking

2015-03-03 Thread Alex Velenko
On 19/02/15 17:26, Richard Henderson wrote: On 02/19/2015 09:08 AM, Alex Velenko wrote: Your suggestion seem to fix gcc.target/arm/long-calls-1.c, but has to be thoroughly tested. Before you do complete testing, please also delete the TREE_STATIC test. That bit should never be relevant to func

Re: [PATCH] Turn RETURN_ADDR_IN_PREVIOUS_FRAME into C expression

2015-03-03 Thread H.J. Lu
On Tue, Mar 3, 2015 at 7:05 AM, Max Filippov wrote: > On Tue, Mar 3, 2015 at 5:51 PM, Richard Henderson wrote: >> On 03/02/2015 10:42 PM, Max Filippov wrote: >>> gcc/ >>> * builtins.c (expand_builtin_return_addr): Add >>> RETURN_ADDR_IN_PREVIOUS_FRAME to 'if' condition, remove >>>

RFA: RL78: Add muladdhi3 pattern

2015-03-03 Thread Nick Clifton
Hi DJ, Compiling this test case with the RL78 toolchain results in an ICE: unsigned char g_X; unsigned char g_Y; const __far unsigned char TabA[2][2] = { { 3, 0 }, { 4, 5 } }; void main (void) { g_X = 1; g_Y = TabA[g_X][g_X]; } The problem appears to be that GCC will create a

RFA: RL78: Fix register constraints in rl78-real.md

2015-03-03 Thread Nick Clifton
Hi DJ, Compiling a program with one of the real RL78 registers marked as call-used (eg via -fcall-used-ax), can trigger an internal compiler error. Although modifying the ABI in this way may not be a good idea, it is still wrong that the compiler generates an ICE. The patch below fixes

Committed: update my email address

2015-03-03 Thread Joern Wolfgang Rennecke
2015-03-03 Joern Rennecke * MAINTAINERS (CPU Port Maintainers): Update my email address. 2015-03-03 Joern Rennecke * MAINTAINERS (CPU Port Maintainers): Update my email address. Index: MAINTAINERS === --- MAINTAINERS

Re: ipa-icf::merge TLC

2015-03-03 Thread Christophe Lyon
On 3 March 2015 at 13:44, Alex Velenko wrote: > On 02/03/15 22:04, Christophe Lyon wrote: >> >> On 2 March 2015 at 21:21, Jan Hubicka wrote: On 01/03/15 16:47, Christophe Lyon wrote: > > On 27 February 2015 at 21:49, Jan Hubicka wrote: >>> >>> >>> ../sysde

Re: [PATCH] Turn RETURN_ADDR_IN_PREVIOUS_FRAME into C expression

2015-03-03 Thread Max Filippov
On Tue, Mar 3, 2015 at 5:51 PM, Richard Henderson wrote: > On 03/02/2015 10:42 PM, Max Filippov wrote: >> gcc/ >> * builtins.c (expand_builtin_return_addr): Add >> RETURN_ADDR_IN_PREVIOUS_FRAME to 'if' condition, remove >> surrounding #ifdef. >> * config/sparc/sparc.h (RETU

Re: [PATCH] Turn RETURN_ADDR_IN_PREVIOUS_FRAME into C expression

2015-03-03 Thread Richard Henderson
On 03/02/2015 10:42 PM, Max Filippov wrote: > gcc/ > * builtins.c (expand_builtin_return_addr): Add > RETURN_ADDR_IN_PREVIOUS_FRAME to 'if' condition, remove > surrounding #ifdef. > * config/sparc/sparc.h (RETURN_ADDR_IN_PREVIOUS_FRAME): Change > definition to 1. >

Re: [PATCH] PR target/65248: [5 Regression] Copy relocation in PIE against protected symbol

2015-03-03 Thread H.J. Lu
On Tue, Mar 3, 2015 at 12:12 AM, Alan Modra wrote: > On Mon, Mar 02, 2015 at 05:36:24AM -0800, H.J. Lu wrote: >> On Sun, Mar 1, 2015 at 11:48 PM, Uros Bizjak wrote: >> > On Sat, Feb 28, 2015 at 5:42 PM, H.J. Lu wrote: >> >> Ue copy relocation in PIE improves performance. But copy relocation >>

Re: [PATCH, alpha]: Fix PR/47230 [4.6/4.7 Regression] gcc fails to bootstrap on alpha in stage2 with "relocation truncated to fit: GPREL16 against ..."

2015-03-03 Thread Uros Bizjak
On Mon, Mar 2, 2015 at 7:23 PM, Richard Henderson wrote: >> Unfortunately, while "normal" bootstrap works OK with alpha-linux-gnu >> and alphaev68-linux-gnu, the bootstrap still fails when configured >> --with-build-config=bootstrap-lto: >> >> libbackend.a(tree-data-ref.o): In function `non_affin

Re: [Ada] convert GNAT doc to sphinx

2015-03-03 Thread Arnaud Charlet
As discussed last year, we've converted the GNAT main documentation (gnat_rm.texi and gnat_ugn.texi) to reST/sphinx, so the master doc can now be found under gcc/ada/doc. there is an empty directory left in SVN: gcc/ada/doc/share/_static ok to remove? No, this (empty currently) directory

Re: [patch,avr]: Fix various problems with specs and specs file generation.

2015-03-03 Thread Senthil Kumar Selvaraj
On Mon, Mar 02, 2015 at 08:40:17PM +0100, Georg-Johann Lay wrote: > The new specs file generation introduces several problems. This patch > > - Fix build warnings > > - Clean up unused code and the old, now dead specs definitions. > > - Removes unused files and adjust build scripts / rules. >

Re: ipa-icf::merge TLC

2015-03-03 Thread Alex Velenko
On 02/03/15 22:04, Christophe Lyon wrote: On 2 March 2015 at 21:21, Jan Hubicka wrote: On 01/03/15 16:47, Christophe Lyon wrote: On 27 February 2015 at 21:49, Jan Hubicka wrote: ../sysdeps/gnu/siglist.c:72:1: internal compiler error: in address_matters_p, at symtab.c:1908 versioned_sym

[PATCH] [PR tree-optimization/65241] Do not modify DOM's hash table if ! inserting

2015-03-03 Thread Jeff Law
As outlined in the PR, a relatively recent change to DOM unconditionally modifies the available expression hash table after a partial hit, but a failure by the alias walker to find an available expression. This interacts badly with jump threading which modifies gimple statements in-place, trie

Re: [PATCH] Fix PR ipa/65282

2015-03-03 Thread Richard Biener
On Tue, Mar 3, 2015 at 11:40 AM, Martin Liška wrote: > Hello. > > There's suggested patch for the issue, where regression test have been > running on x86_64-linux-pc. > > Ready for trunk after tests will be finished? Ok. Thanks, Richard. > Thanks, > Martin

Re: [Ada] convert GNAT doc to sphinx

2015-03-03 Thread Matthias Klose
On 02/20/2015 10:17 AM, Arnaud Charlet wrote: > As discussed last year, we've converted the GNAT main documentation > (gnat_rm.texi and gnat_ugn.texi) to reST/sphinx, so the master doc > can now be found under gcc/ada/doc. there is an empty directory left in SVN: gcc/ada/doc/share/_static ok t

[PATCH] Fix PR ipa/65282

2015-03-03 Thread Martin Liška
Hello. There's suggested patch for the issue, where regression test have been running on x86_64-linux-pc. Ready for trunk after tests will be finished? Thanks, Martin >From a186fc97c5f192b94cc571f611a50eb0f4f8a354 Mon Sep 17 00:00:00 2001 From: mliska Date: Tue, 3 Mar 2015 11:33:30 +0100 Subje

[PATCH] Fix PR ipa/65287

2015-03-03 Thread Martin Liška
Hello. There's suggested patch for the issue that survives regression tests on x86_64-linux-pc. Ready for trunk? Thanks, Martin >From d4e9d2906a90151d1239e7b32b00f7cb46b045fa Mon Sep 17 00:00:00 2001 From: mliska Date: Tue, 3 Mar 2015 10:36:59 +0100 Subject: [PATCH] Fix PR ipa/65287. gcc/test

Re: [PATCH] Fix PR ipa/65087

2015-03-03 Thread Martin Liška
On 03/03/2015 10:50 AM, Marek Polacek wrote: On Tue, Mar 03, 2015 at 10:31:17AM +0100, Martin Liška wrote: @@ -2952,9 +2959,12 @@ sem_item_optimizer::merge_classes (unsigned int prev_class_count) alias->dump_to_file (dump_file); } - source->merge (alias)

Re: [PATCH] Fix PR ipa/65087

2015-03-03 Thread Marek Polacek
On Tue, Mar 03, 2015 at 10:31:17AM +0100, Martin Liška wrote: > @@ -2952,9 +2959,12 @@ sem_item_optimizer::merge_classes (unsigned int > prev_class_count) > alias->dump_to_file (dump_file); > } > > - source->merge (alias); > + if (source->merge (alias))

Re: [IA-64] Fix gcc.dg/torture/vshuf-v8qi.c

2015-03-03 Thread Richard Biener
On Tue, Mar 3, 2015 at 9:56 AM, Eric Botcazou wrote: > Hi, > > the test fails at -O2 because of the assertion recently added to gen_reg_rtx > that crtl->emit.regno_pointer_align_length is non-zero. Now the function > expand_vec_perm_interleave_2 can be invoked at the GIMPLE level in "testing" > m

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

2015-03-03 Thread Thomas Preud'homme
And I forgot to update the date in the rush so I committed the fix as obvious: diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ed8ca31..809f5cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,4 @@ -2015-01-23 Thomas Preud'homme +2015-03-03 Thomas Preud'homme Backport fro

RE: [Patch, MIPS] Fix PR 58158 - ICE on MIPS Loongson

2015-03-03 Thread Matthew Fortune
Steve Ellcey writes: > On Mon, 2015-03-02 at 15:54 -0800, Matthew Fortune wrote: > > Thanks for looking through and catching this. > > > > I had conflicting thoughts on whether the new condition should > > reference both !ISA_HAS_FP_CONDMOVE || ISA_HAS_SEL but if we take it > > that FP_CONDMOVE is

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

2015-03-03 Thread Thomas Preud'homme
Just committed to 4.9 branch, 4.8 to follow once regression testsuite for 4.8 backport finishes running (backport was done quite some time ago now). Best regards, Thomas > -Original Message- > From: Ramana Radhakrishnan [mailto:ramana@googlemail.com] > Sent: Tuesday, February 17, 201

Re: [PATCH] Fix PR ipa/65087

2015-03-03 Thread Martin Liška
On 03/02/2015 06:20 PM, Jan Hubicka wrote: Hello. Following one line patch is fix for PR ipa/65087. No regression has been seen on x86_64-linux-pc. OK, it won't happend large programs, but can you arrange its execute method to return TODO_remove_functions only if some merging actually happened

[IA-64] Fix gcc.dg/torture/vshuf-v8qi.c

2015-03-03 Thread Eric Botcazou
Hi, the test fails at -O2 because of the assertion recently added to gen_reg_rtx that crtl->emit.regno_pointer_align_length is non-zero. Now the function expand_vec_perm_interleave_2 can be invoked at the GIMPLE level in "testing" mode and crtl->emit is not initialized by that time. Tested on

Re: Avoid cycles in the inline plan

2015-03-03 Thread Richard Biener
On Mon, 2 Mar 2015, Jan Hubicka wrote: > Hi, > in the testcase bellow we manage to produce cycle in inline plan because > there is > indirectly recrusive function that appears called once. > > I am having problems with the testcase. The second file outht to be compiled > with > -O2, but it is n

[Ping v3] [PATCH PR64820] Fix ASan UAR detection fails on 32-bit targets if SSP is enabled.

2015-03-03 Thread Maxim Ostapenko
On 02/25/2015 05:40 PM, Maxim Ostapenko wrote: On 02/16/2015 10:58 AM, Maxim Ostapenko wrote: Hi, when testing I noticed, that if compile with both -fsanitize=address and -fstack-protector for 32-bit architectures and run with ASAN_OPTIONS=detect_stack_use_after_return=1, libsanitizer fails wi

Re: [PATCH] PR target/65248: [5 Regression] Copy relocation in PIE against protected symbol

2015-03-03 Thread Alan Modra
On Mon, Mar 02, 2015 at 05:36:24AM -0800, H.J. Lu wrote: > On Sun, Mar 1, 2015 at 11:48 PM, Uros Bizjak wrote: > > On Sat, Feb 28, 2015 at 5:42 PM, H.J. Lu wrote: > >> Ue copy relocation in PIE improves performance. But copy relocation > >> can't be used to access protected symbols defined in sh