[Bug middle-end/52419] New: Wrong expansion of misaligned vector store

2012-02-28 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52419 Bug #: 52419 Summary: Wrong expansion of misaligned vector store Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug target/52407] [4.6 Regression] sse2 simd uint32_t and int64_t and stack variable initialization

2012-02-28 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52407 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added CC||jamborm at gcc

[Bug middle-end/52419] Wrong expansion of misaligned vector store

2012-02-28 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52419 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug libstdc++/51785] gets not anymore declared

2012-02-28 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51785 --- Comment #18 from Paolo Carlini paolo.carlini at oracle dot com 2012-02-28 18:25:54 UTC --- Ah, thanks Joseph. Thus, to repeat, anything we do in terms of macros has to be for *2.16* and later.

[Bug ada/52420] New: ada build failure with -gdwarf-4

2012-02-28 Thread pcpa at mandriva dot com.br
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52420 Bug #: 52420 Summary: ada build failure with -gdwarf-4 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/52421] New: SH Target: -fnon-call-exceptions prevents delay slot filling

2012-02-28 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52421 Bug #: 52421 Summary: SH Target: -fnon-call-exceptions prevents delay slot filling Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c++/52422] New: [C++11][SFINAE] Hard errors with void or arithmetic expressions

2012-02-28 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52422 Bug #: 52422 Summary: [C++11][SFINAE] Hard errors with void or arithmetic expressions Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug middle-end/51752] trans-mem: publication safety violated

2012-02-28 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51752 --- Comment #7 from Aldy Hernandez aldyh at gcc dot gnu.org 2012-02-28 20:08:44 UTC --- Author: aldyh Date: Tue Feb 28 20:08:39 2012 New Revision: 184638 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184638 Log: PR middle-end/51752

[Bug target/50946] ICE on armhf with webkitgtk+

2012-02-28 Thread doko at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50946 Matthias Klose doko at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW

[Bug c++/51214] [4.7 Regression] [C++11] name lookup issue with c++11 enums

2012-02-28 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51214 fabien at gcc dot gnu.org changed: What|Removed |Added Summary|[C++11] name lookup issue |[4.7 Regression] [C++11]

[Bug libstdc++/52191] abi_check should flag additions to released versions

2012-02-28 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52191 --- Comment #2 from Benjamin Kosnik bkoz at gcc dot gnu.org 2012-02-28 20:21:13 UTC --- Created attachment 26774 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26774 patch to check new symbols are in new version names

[Bug libstdc++/52191] abi_check should flag additions to released versions

2012-02-28 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52191 Benjamin Kosnik bkoz at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING ---

[Bug libstdc++/52191] abi_check should flag additions to released versions

2012-02-28 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52191 --- Comment #4 from Benjamin Kosnik bkoz at gcc dot gnu.org 2012-02-28 20:25:53 UTC --- Author: bkoz Date: Tue Feb 28 20:25:48 2012 New Revision: 184639 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184639 Log: 2012-02-21 Benjamin Kosnik

[Bug regression/52423] New: [4.6 Regression] ICE in build_unary_op, at c-typeck.c:3786

2012-02-28 Thread doko at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52423 Bug #: 52423 Summary: [4.6 Regression] ICE in build_unary_op, at c-typeck.c:3786 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug libitm/52042] libitm.c/clone-1.c (all darwin) and libitm.c/stackundo.c (darwin 11) execution tests fail with -fpie

2012-02-28 Thread mrs at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52042 m...@gcc.gnu.org mrs at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/52422] [C++11][SFINAE] Hard errors with void or arithmetic expressions

2012-02-28 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52422 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug libfortran/52413] Incorrect behavior of FRACTION when applied to a constant

2012-02-28 Thread anlauf at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52413 Harald Anlauf anlauf at gmx dot de changed: What|Removed |Added CC||anlauf at gmx dot de

[Bug tree-optimization/52424] New: dom prematurely pops entries from const_and_copies stack

2012-02-28 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52424 Bug #: 52424 Summary: dom prematurely pops entries from const_and_copies stack Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug c/52425] New: ICE when compiling file from audacious on debian sparc

2012-02-28 Thread plugwash at p10link dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52425 Bug #: 52425 Summary: ICE when compiling file from audacious on debian sparc Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal

[Bug fortran/52426] New: ICE for c_loc with array constructor

2012-02-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52426 Bug #: 52426 Summary: ICE for c_loc with array constructor Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code

[Bug fortran/52426] ICE for c_loc with array constructor

2012-02-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52426 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added CC||burnus at gcc

[Bug c++/52422] [C++11][SFINAE] Hard errors with void or arithmetic expressions

2012-02-28 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52422 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/52298] ICE: verify_ssa failed: definition in block follows use

2012-02-28 Thread uweigand at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52298 --- Comment #8 from Ulrich Weigand uweigand at gcc dot gnu.org 2012-02-28 23:40:37 UTC --- Author: uweigand Date: Tue Feb 28 23:40:32 2012 New Revision: 184645 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184645 Log: Partially revert:

[Bug target/52408] Incorrect assembler generated for zvdep_imm64

2012-02-28 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52408 --- Comment #1 from dave.anglin at bell dot net 2012-02-29 01:44:09 UTC --- Attached is patch which I am testing. -- John David Anglindave.ang...@bell.net

[Bug tree-optimization/52424] dom prematurely pops entries from const_and_copies stack

2012-02-28 Thread jiangning.liu at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52424 --- Comment #1 from Jiangning Liu jiangning.liu at arm dot com 2012-02-29 03:23:46 UTC --- I've attached a proposed fix. Jiangning, can you please apply this and see if your performance problem is resolved? Bill, Confirmed, I think your

[Bug tree-optimization/52424] dom prematurely pops entries from const_and_copies stack

2012-02-28 Thread jiangning.liu at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52424 --- Comment #2 from Jiangning Liu jiangning.liu at arm dot com 2012-02-29 03:42:17 UTC --- Jiangning Liu reported that the following C code has recently experienced degraded performance on trunk. (Jiangning, please fill in the

[Bug boehm-gc/52179] boehm-gc incompatible with aslr on darwin11

2012-02-28 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52179 Jack Howarth howarth at nitro dot med.uc.edu changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/52427] New: problem with default copy constructor and -O

2012-02-28 Thread architectbum at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52427 Bug #: 52427 Summary: problem with default copy constructor and -O Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal

[Bug fortran/52386] [4.6/4.7 Regression] ICE in gfc_conv_descriptor_dtyp (realloc LHS related)

2012-02-28 Thread pault at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52386 --- Comment #2 from Paul Thomas pault at gcc dot gnu.org 2012-02-29 07:21:43 UTC --- Author: pault Date: Wed Feb 29 07:21:38 2012 New Revision: 184651 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184651 Log: 2012-02-29 Paul Thomas

[Bug fortran/52428] New: [RFC] I/O: READING of -huge()-1: Integer overflow

2012-02-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52428 Bug #: 52428 Summary: [RFC] I/O: READING of -huge()-1: Integer overflow Classification: Unclassified Product: gcc Version: unknown URL:

[PATCH] Fix up libstdc++ build breakage with ldbl-extra.ver

2012-02-28 Thread Jakub Jelinek
Hi! On Mon, Feb 27, 2012 at 03:28:32PM -0800, Benjamin Kosnik wrote: On Tue, 28 Feb 2012 00:12:33 +0100 Jakub Jelinek ja...@redhat.com wrote: and $(EGREP) -v '#(#| |$$)' just throws away the whole };# Appended to version file. line. I wonder if sed -e 's/#[# $].*$//' wouldn't be

Re: [PATCH] Fix up libstdc++ build breakage with ldbl-extra.ver

2012-02-28 Thread Paolo Bonzini
Il 28/02/2012 09:50, Jakub Jelinek ha scritto: - $(EGREP) -v '#(#| |$$)' $@.tmp | \ + $(EGREP) -v '^[ ]*#(#| |$$)' $@.tmp | \ I don't know this part very well, so I wonder why you have to remove comments at all... hence I wonder if sed 's/##.*//;s/# .*//;s/#$//' (alternation is

Re: [PATCH] fix PR48299 by merging changes for thread_leak_test.c from upstream

2012-02-28 Thread Richard Guenther
On Mon, 27 Feb 2012, Mike Stump wrote: On Feb 27, 2012, at 1:01 PM, Jack Howarth wrote: Since this is just a testsuite issue in boehm-gc, wouldn't this be Hans' call? I would definitely like to get this fixed in gcc 4.7 so that the boehm-gc testsuite doesn't suffer timeouts. Also

Re: [PATCH] Fix PR52395

2012-02-28 Thread Richard Guenther
On Mon, 27 Feb 2012, Richard Guenther wrote: This makes the patch for PR50444 less conservative by also looking at TYPE_ALIGN of the base we offset. I guess we do not need to worry about the '???' as IPA SRA uses sth different (see PR52402) and the only case I definitely see only creates

Re: [PATCH] Fix up libstdc++ build breakage with ldbl-extra.ver

2012-02-28 Thread Jakub Jelinek
On Tue, Feb 28, 2012 at 09:57:38AM +0100, Paolo Bonzini wrote: Il 28/02/2012 09:50, Jakub Jelinek ha scritto: - $(EGREP) -v '#(#| |$$)' $@.tmp | \ + $(EGREP) -v '^[ ]*#(#| |$$)' $@.tmp | \ I don't know this part very well, so I wonder why you have to remove comments at all...

Re: [PATCH] Fix up libstdc++ build breakage with ldbl-extra.ver

2012-02-28 Thread Paolo Bonzini
Il 28/02/2012 10:19, Jakub Jelinek ha scritto: - $(EGREP) -v '#(#| |$$)' $@.tmp | \ + $(EGREP) -v '^[ ]*#(#| |$$)' $@.tmp | \ I don't know this part very well, so I wonder why you have to remove comments at all... hence I wonder if sed 's/##.*//;s/# .*//;s/#$//'

Re: [PR51752] publication safety violations in loop invariant motion pass

2012-02-28 Thread Richard Guenther
On Mon, Feb 27, 2012 at 6:29 PM, Aldy Hernandez al...@redhat.com wrote: On 02/27/12 11:02, Michael Matz wrote: Hi, On Mon, 27 Feb 2012, Aldy Hernandez wrote: For that matter, didn't rth add a memory barrier at the beginning of transactions last week?  That would mean that we can't hoist

Re: [PR51752] publication safety violations in loop invariant motion pass

2012-02-28 Thread Richard Guenther
On Mon, Feb 27, 2012 at 5:44 PM, Andrew MacLeod amacl...@redhat.com wrote: On 02/27/2012 11:22 AM, Aldy Hernandez wrote: Ok. I see.  So, I think what would be best is to have a way to check whether a store/load is part of a transaction - do we have a way to do that right now? (For example

Re: [RFC PATCH 1/3] Misaligned top level MEM_REFs on LHS of assignments

2012-02-28 Thread Richard Guenther
On Tue, 28 Feb 2012, Martin Jambor wrote: Hi, the first patch in the series deals with plain MEM_REFs on LHS of assignments to handle situations such as the testcase which currently fails on strict alignment platforms (the array and the loop are there to cross a cache line on ia64 so that

Re: [RFC PATCH 2/3] Misaligned MEM_REFs within handled_components on LHS of assignments

2012-02-28 Thread Richard Guenther
On Tue, 28 Feb 2012, Martin Jambor wrote: Hi, the second patch in the series handles MEM_REFs on LHS which are parts of a handled_component, usually a COMPONENT_REF. The failing testcase which requires it is not actually the one in the patch but it is gcc.c-torture/execute/mayalias-3.c

Re: [RFC PATCH 3/3] Misaligned MEM_REF reads

2012-02-28 Thread Richard Guenther
On Tue, 28 Feb 2012, Martin Jambor wrote: Hi, this patch fixes misaligned reads through MEM_REFs such as the one in the testcase which currently fails on both sparc64 and ia64 (again, the array and the loop are there to cross ia64 cache line and fail there too). The patch has to be

Re: [patch, documentation] Document -floop-flatten as experimental

2012-02-28 Thread Richard Guenther
On Tue, Feb 28, 2012 at 9:25 AM, Thomas Koenig tkoe...@netcologne.de wrote: Hello world, the attached patch documents -floop-flatten as unsafe (see the PR). Tested with 'make dvi', 'make info' and 'make pdf'.  I'd like to get this into the 4.7 release. OK for trunk? I have modified your

[Patch,AVR]: ASM_SPEC: Add -mno-skip-bug

2012-02-28 Thread Georg-Johann Lay
This patch is addendum to support skip of 2-word instructions as of PR49939 and the extension made in http://gcc.gnu.org/viewcvs?view=revisionrevision=177049 gas emits a warning if it sees a skip of 2-word instruction for cores that might have the skip bug. However, only specific devices are

Re: [PATCH] Fix up libstdc++ build breakage with ldbl-extra.ver

2012-02-28 Thread Paolo Carlini
Thanks Jakub for taking care of this. Paolo.

[PATCH][x86] Fix PR52407

2012-02-28 Thread Richard Guenther
This fixes element ordering for V2SFmode, V2SImode and V2DImode concats in ix86_expand_vector_set. Boostrap / regtest pending on x86_64-unknown-linux-gnu. Ok everywhere? (the testcase only fails on trunk) Thanks, Richard. 2012-02-28 Richard Guenther rguent...@suse.de PR

Re: [PATCH][x86] Fix PR52407

2012-02-28 Thread Uros Bizjak
Hello! This fixes element ordering for V2SFmode, V2SImode and V2DImode concats in ix86_expand_vector_set. Boostrap / regtest pending on x86_64-unknown-linux-gnu. Ok everywhere? (the testcase only fails on trunk) 2012-02-28 Richard Guenther rguent...@suse.de PR target/52407

Re: [PATCH][x86] Fix PR52407

2012-02-28 Thread Richard Guenther
On Tue, 28 Feb 2012, Uros Bizjak wrote: Hello! This fixes element ordering for V2SFmode, V2SImode and V2DImode concats in ix86_expand_vector_set. Boostrap / regtest pending on x86_64-unknown-linux-gnu. Ok everywhere? (the testcase only fails on trunk) 2012-02-28 Richard

Re: [PATCH][x86] Fix PR52407

2012-02-28 Thread Jakub Jelinek
On Tue, Feb 28, 2012 at 02:01:45PM +0100, Richard Guenther wrote: I guess using __INT64_TYPE__ is more portable to weird targets though. I integrated the other testcase changes though. To which weird targets? We support long long on all targets, and the C standard guarantees it is at least

Re: [PATCH][x86] Fix PR52407

2012-02-28 Thread Richard Guenther
On Tue, 28 Feb 2012, Jakub Jelinek wrote: On Tue, Feb 28, 2012 at 02:01:45PM +0100, Richard Guenther wrote: I guess using __INT64_TYPE__ is more portable to weird targets though. I integrated the other testcase changes though. To which weird targets? We support long long on all targets,

[PATCH, ARM] Fix ABI conformance regression

2012-02-28 Thread Richard Earnshaw
This patch fixes a regression that we've discovered in GCC's conformance to the ARM ABI for the hard-float calling convention. The problem occurred because of changes in the mid-end in the way we mark some structures as having a machine mode now rather than BLKmode. We missed this happening

Re: [Patch,AVR]: ASM_SPEC: Add -mno-skip-bug

2012-02-28 Thread Denis Chertykov
2012/2/28 Georg-Johann Lay a...@gjlay.de: This patch is addendum to support skip of 2-word instructions as of PR49939 and the extension made in http://gcc.gnu.org/viewcvs?view=revisionrevision=177049 gas emits a warning if it sees a skip of 2-word instruction for cores that might have the

Re: [PR51752] publication safety violations in loop invariant motion pass

2012-02-28 Thread Andrew MacLeod
On 02/28/2012 04:39 AM, Richard Guenther wrote: On Mon, Feb 27, 2012 at 5:44 PM, Andrew MacLeodamacl...@redhat.com wrote: I t would seem appropriate to me that in the future, perhaps the CFG could have a flag set for any basic block which is in a transaction... This would make it pretty

Re: [RFC, PATCH] ARM related deprecations

2012-02-28 Thread Joseph S. Myers
Richard, are you going to check in these deprecations for 4.7 (with the additional deprecation of old-ABI uClinux as I noted in http://gcc.gnu.org/ml/gcc-patches/2011-12/msg01260.html)? Time is rapidly running out for doing so. Note that current glibc ports no longer supports ARM old-ABI; I

Re: [PATCH] Fix PR52298

2012-02-28 Thread Ulrich Weigand
Richard Guenther wrote: On Fri, Feb 24, 2012 at 2:16 PM, Ulrich Weigand uweig...@de.ibm.com wrote: this looks to me that, since the check is intended to verify that misalignment remains the same throughout the execuction of the loop, we actually want to check the inner-loop step here as

Re: [PATCH] Fix PR52298

2012-02-28 Thread Richard Guenther
On Tue, 28 Feb 2012, Ulrich Weigand wrote: Richard Guenther wrote: On Fri, Feb 24, 2012 at 2:16 PM, Ulrich Weigand uweig...@de.ibm.com wrote: this looks to me that, since the check is intended to verify that misalignment remains the same throughout the execuction of the loop, we

[PATCH] Fix PR52406

2012-02-28 Thread Richard Guenther
I am testing the following patch to fix PR52406. We cannot simply feed DR_BASE_OBJECT to the alias-oracle as it does not reflect a real memory access. Only if we query two 'structurally compatible' references we may do this. So the following patch reverts to using DR_REF instead and improves

[WIP PATCH] Re: Inefficient end-of-loop value computation - missed optimization somewhere?

2012-02-28 Thread Ulrich Weigand
Richard Guenther wrote: On Mon, Feb 20, 2012 at 11:19 PM, Ulrich Weigand uweig...@de.ibm.com wrote: we've noticed that the loop optimizer sometimes inserts weirdly inefficient code to compute the value of an induction variable at the end of the loop. [snip] The issue is that (start + 1) +

Re: [m68k, sparc] Fix atomic_test_and_set

2012-02-28 Thread Oleg Endo
On Fri, 2012-01-27 at 09:29 +1100, Richard Henderson wrote: Two of the patches have been posted here before; the libstdc++ patch was approved by Benjamin. All of the patches tested on sparc64-linux, and sanity checked on x86_64-linux. I've cross-compiled for m68k-linux, but I've only been

Re: [WIP PATCH] Re: Inefficient end-of-loop value computation - missed optimization somewhere?

2012-02-28 Thread Richard Guenther
On Tue, Feb 28, 2012 at 4:10 PM, Ulrich Weigand uweig...@de.ibm.com wrote: Richard Guenther wrote: On Mon, Feb 20, 2012 at 11:19 PM, Ulrich Weigand uweig...@de.ibm.com wrote: we've noticed that the loop optimizer sometimes inserts weirdly inefficient code to compute the value of an induction

[PATCH, ARM] PR49448 incorrectly detecting big-endian arm-linux triplets

2012-02-28 Thread Richard Earnshaw
The pattern to match a big-endian machine for linux is ambiguous as reported by the PR and can cause some little-endian triplets to be confused as big-endian. This patch makes the string unambiguous. R. * config.gcc (arm*-*-linux*): Use an unambiguous pattern for detecting

Re: [RFC, PATCH] ARM related deprecations

2012-02-28 Thread Richard Earnshaw
On 16/12/11 18:53, Joseph S. Myers wrote: On Fri, 9 Dec 2011, Richard Earnshaw wrote: I think we've reached the point where the following target configurations should be End-of-Life'd. As such, I'd like to mark them as deprecated in gcc-4.7, prior to removal after the branch. I agree

Re: [RFC, PATCH] ARM related deprecations

2012-02-28 Thread Joseph S. Myers
On Tue, 28 Feb 2012, Richard Earnshaw wrote: So how about we just deprecate all targets that are still using FPE format? This patch appears to add back the i[34567]86-*-interix3* deprecation - removed deliberately when the target got a maintainer - and arm-wrs-vxworks is *not* using FPE

Re: [RFC, PATCH] ARM related deprecations

2012-02-28 Thread Richard Earnshaw
On 28/02/12 15:38, Joseph S. Myers wrote: On Tue, 28 Feb 2012, Richard Earnshaw wrote: So how about we just deprecate all targets that are still using FPE format? This patch appears to add back the i[34567]86-*-interix3* deprecation - Oops, botched merge conflict. removed deliberately

Re: [RFA/ARM] target/51534 Fix unsigned vector comparisons

2012-02-28 Thread Richard Earnshaw
On 21/02/12 16:17, Matthew Gretton-Dann wrote: The attached patch fixes instruction generation for unsigned vector comparisons against a known-zero vector. ARM's Neon extensions only allow unsigned equality comparison against unsigned zero, not less than or greater than comparisons. This

[PATCH][ARM] NEON DImode immediate constants

2012-02-28 Thread Andrew Stubbs
Hi all, This patch implements 64-bit immediate constant loads in NEON. The current state is that you can load const_vector, but not const_int. This is clearly not ideal. The result is a constant pool entry when it's not necessary. The patch disables the movdi_vfp patterns for loading DImode

Re: [RFC, PATCH] ARM related deprecations

2012-02-28 Thread Richard Earnshaw
On 28/02/12 15:51, Richard Earnshaw wrote: On 28/02/12 15:38, Joseph S. Myers wrote: On Tue, 28 Feb 2012, Richard Earnshaw wrote: So how about we just deprecate all targets that are still using FPE format? This patch appears to add back the i[34567]86-*-interix3* deprecation - Oops,

Re: [PR51752] publication safety violations in loop invariant motion pass

2012-02-28 Thread Richard Henderson
On 02/27/12 08:22, Aldy Hernandez wrote: transform by making transaction load/store stmts behave the same as potentially trapping stmts (thus, only optimize if the memory is accessed unconditional somewhere else). That would work for PRE as well. [easiest would be to make *_could_trap_p

[PATCH,ARM] Improve peepholes for LDM with commutative operators

2012-02-28 Thread Greta Yorsh
This patch improves existing peephole optimizations that merge individual LDRs into LDM, in the case that the order of registers in LDR instructions is not ascending, but the loaded values can be reordered because their uses commute. There are two changes: * use rtx__equal_p to compare operands

[lra] patch to simulate reload behaviour

2012-02-28 Thread Vladimir Makarov
The following patch adds reload behaviour to LRA for some cases. Some targets assumes such behaviour. The patch was successfully bootstrapped on x86/x86-64. Committed as rev. 184631. 2012-02-28 Vladimir Makarov vmaka...@redhat.com * lra-constraints.c (check_and_process_move):

Re: [RFC, PATCH] ARM related deprecations

2012-02-28 Thread Joseph S. Myers
On Tue, 28 Feb 2012, Richard Earnshaw wrote: Here's an updated patch and a suggested web-page patch: uClinux targets do not have -gnu in their target triplets. You missed the WinCE port from the list in the webpage patch of ports being deprecated for using FPA floating-point format and

Re: [PATCH 2/2] document gcc --help=common

2012-02-28 Thread Gerald Pfeifer
On Mon, 27 Feb 2012, Bernhard Reutner-Fischer wrote: 2010-01-03 Bernhard Reutner-Fischer al...@gcc.gnu.org * gcc.c (display_help): Document --help=common and sort entries alphabetically. I would liberaly label this a documentation change and commit it so that it makes GCC

Re: [RFC, PATCH] ARM related deprecations

2012-02-28 Thread Richard Earnshaw
On 28/02/12 17:10, Joseph S. Myers wrote: On Tue, 28 Feb 2012, Richard Earnshaw wrote: Here's an updated patch and a suggested web-page patch: uClinux targets do not have -gnu in their target triplets. You missed the WinCE port from the list in the webpage patch of ports being

Re: [PR51752] publication safety violations in loop invariant motion pass

2012-02-28 Thread Aldy Hernandez
On 02/28/12 11:05, Richard Henderson wrote: On 02/27/12 08:22, Aldy Hernandez wrote: transform by making transaction load/store stmts behave the same as potentially trapping stmts (thus, only optimize if the memory is accessed unconditional somewhere else). That would work for PRE as well.

[PATCH][ARM] NEON DImode neg

2012-02-28 Thread Andrew Stubbs
Hi all, This patch adds a DImode negate pattern for NEON. Unfortunately, the NEON vneg instruction only supports vectors, not singletons, so there's no direct way to do it in DImode, and the compiler ends up moving the value back to core registers, negating it, and returning to NEON

[lra] patch to fix arm bootstrap.

2012-02-28 Thread Vladimir Makarov
After a few recent changes, I found that arm bootstrap broken again. I found a latent bug whose occurrence is triggered by recent changes. The following patch mostly fixes the bug. The patch was successfully bootstrapped on x86/x86-64 (arm bootstrap result will be available only this

Re: [PR51752] publication safety violations in loop invariant motion pass

2012-02-28 Thread Richard Henderson
On 02/28/12 09:44, Aldy Hernandez wrote: PR middle-end/51752 * gimple.h (gimple_in_transaction): New. (gimple_set_in_transaction): New. (struct gimple_statement_base): Add in_transaction field. * tree-ssa-loop-im.c: (movement_possibility): Restrict movement of

[PATCH, 4.5, 4.6] Fix PR50181 by backporting mainline reload.c patches

2012-02-28 Thread Peter Bergner
The following two mainline commits from Andreas fix the two ICEs mentioned in PR50181 on the 4.5 and 4.6 release branches. Speaking with Uli offline, he thought the two patches should be safe enough to backport. This is a regression from GCC 4.4, so is this ok for 4.6 and 4.5 assuming my

Re: [PR51752] publication safety violations in loop invariant motion pass

2012-02-28 Thread Aldy Hernandez
On 02/28/12 13:12, Richard Henderson wrote: On 02/28/12 09:44, Aldy Hernandez wrote: PR middle-end/51752 * gimple.h (gimple_in_transaction): New. (gimple_set_in_transaction): New. (struct gimple_statement_base): Add in_transaction field. *

Re: [trans-mem,darwin] PR/52042 find tm_clone_table with PIE

2012-02-28 Thread Patrick Marlier
Jack, Can I ask you to close this PR? http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52042 Indeed, my bugzilla account is a simple one and I cannot to change the bug status... -- Patrick On 02/07/2012 10:36 PM, Patrick Marlier wrote: Hi, The problem in this PR is that with PIE, getsectdata

Re: [trans-mem,darwin] PR/52042 find tm_clone_table with PIE

2012-02-28 Thread Mike Stump
On Feb 28, 2012, at 12:20 PM, Patrick Marlier wrote: Can I ask you to close this PR? Done.

[v3] libstdc++/52191

2012-02-28 Thread Benjamin De Kosnik
as requested. all new symbols should be in new symbol versoning names. With this in, check-abi will now fail if new symbols are inadvertently added to previously-released versions. I'm expecting this to make solaris symbol versioning, as reported by check-abi, fail at first. Then we can

Re: [PATCH] Fix PR52402

2012-02-28 Thread Jakub Jelinek
On Mon, Feb 27, 2012 at 04:38:01PM +0100, Richard Guenther wrote: This fixes PR52402 in a similar way as PR50444. IPA SRA needs to be careful about alignment when constructing accesses. Bootstrap and regtest pending on x86_64, any comments? The test fails on i386-linux, adding -w -Wno-psabi

[C++ Patch] for c++/51214

2012-02-28 Thread Fabien Chêne
Hi, The problem in this PR is that the CLASSTYPE_SORTED_FIELDS is created too early (in finish_struct_1) to handle those late unscoped enum definitions. Consequently, I propose to lately add those names in CLASSTYPE_SORTED_FIELDS when they are encountered, in build_enumerator. Tested

Re: [v3] libstdc++/52191

2012-02-28 Thread Jakub Jelinek
On Tue, Feb 28, 2012 at 12:34:34PM -0800, Benjamin De Kosnik wrote: as requested. all new symbols should be in new symbol versoning names. With this in, check-abi will now fail if new symbols are inadvertently added to previously-released versions. I'm expecting this to make solaris symbol

Re: [C++ Patch] for c++/51214

2012-02-28 Thread Paolo Carlini
Minor nit: the correct spelling is threshold, not threashold. Thanks, Paolo.

libgo patch committed: Call exit rather than _exit

2012-02-28 Thread Ian Lance Taylor
The libgo runtime was calling _exit when a Go program finished. There was no particular reason for this, and it meant that --coverage did not work becase the .gcda file was never generated. This patch fixes that. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to

Re: [C++ Patch] for c++/51214

2012-02-28 Thread Jason Merrill
On 02/28/2012 03:36 PM, Fabien Chêne wrote: * decl.c (build_enumerator): Call insert_into_classtype_sorted_fields if an enumerator-definition referring to a class scope opaque enum has been encountered. This will insert and sort the vector again for each enumerator; we

Re: [C++ Patch] for c++/51214

2012-02-28 Thread Fabien Chêne
2012/2/28 Jason Merrill ja...@redhat.com: On 02/28/2012 03:36 PM, Fabien Chêne wrote:        * decl.c (build_enumerator): Call        insert_into_classtype_sorted_fields if an enumerator-definition referring        to a class scope opaque enum has been encountered. This will insert and

[SH] Add target options documentation

2012-02-28 Thread Oleg Endo
Hello, The attached patch adds some SH target options that have been missing in the documentation. Tested with 'make info dvi pdf'. OK to commit? Cheers, Oleg 2012-02-28 Oleg Endo olege...@gcc.gnu.org * doc/invoke.texi (-msoft-atomic): Add more detailed description.

Re: [RFC, PATCH] ARM related deprecations

2012-02-28 Thread John Tytgat
In message 4f4d0e64.1020...@arm.com Richard Earnshaw rearn...@arm.com wrote: On 28/02/12 17:10, Joseph S. Myers wrote: On Tue, 28 Feb 2012, Richard Earnshaw wrote: Here's an updated patch and a suggested web-page patch: uClinux targets do not have -gnu in their target

Re: [SH] Add target options documentation

2012-02-28 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: The attached patch adds some SH target options that have been missing in the documentation. Tested with 'make info dvi pdf'. OK to commit? Looks OK to me. Thanks for the patch. Regards, kaz

[PATCH] Ignore hard register uses in DEBUG_INSNs for regs_ever_live (PR bootstrap/52397)

2012-02-28 Thread Jakub Jelinek
Hi! Bootstrap fails on ia64-linux with Ada currently, because we get a -fcompare-debug failure on one of the files, where a debug_insn is the only insn that references in5 hard register (which is live on entry of the first bb). hard_regs_live_count array is only used to compute regs_ever_live,

Re: [PATCH] Fix PR52402

2012-02-28 Thread Jakub Jelinek
On Tue, Feb 28, 2012 at 09:34:37PM +0100, Jakub Jelinek wrote: On Mon, Feb 27, 2012 at 04:38:01PM +0100, Richard Guenther wrote: This fixes PR52402 in a similar way as PR50444. IPA SRA needs to be careful about alignment when constructing accesses. Bootstrap and regtest pending on

Re: [PATCH] Fix PR52298

2012-02-28 Thread Ulrich Weigand
Richard Guenther wrote: On Tue, 28 Feb 2012, Ulrich Weigand wrote: On powerpc64-linux, testing is still ongoing (I had to re-do the baseline run ... b.t.w. this showed that the vect-outer- tests also fail on this target currently). OK once testing has completed successfully on powerpc?

Re: [PATCH,ARM] Improve peepholes for LDM with commutative operators

2012-02-28 Thread Ramana Radhakrishnan
On Tue, Feb 28, 2012 at 05:09:05PM -, Greta Yorsh wrote: Is it OK for GCC 4.7 Stage 4 ? Technically this is a regression in 4.7 compared to 4.6, so I'd like to get this in. However given the stage we are and given that it's not a correctness issue, I would defer to the RMs. In any case

Re: [ARM, patch, testsuite] Enable vect_condition tests for ARM/NEON

2012-02-28 Thread Ramana Radhakrishnan
On Tue, Feb 21, 2012 at 11:37:07AM -0800, Mike Stump wrote: On Feb 21, 2012, at 10:26 AM, Ulrich Weigand wrote: I just noticed that check_effective_target_vect_condition returns false for ARM/NEON, even though the platforms in fact supports vectorized conditional expressions. This causes a

Re: [PATCH] arm: add _mm_empty to mmintrin.h for source compatibility

2012-02-28 Thread Ramana Radhakrishnan
On Fri, Feb 24, 2012 at 10:53:35PM -0500, Matt Turner wrote: The x86/amd64 mmintrin.h provides the _mm_empty intrinsic for the 'emms' MMX instruction. Although ARM does not need such an instruction, we should provide an empty _mm_empty function nonetheless for source compatibility. OK for 4.8

Re: [PATCH ARM] backport r174803 from trunk to 4.6 branch

2012-02-28 Thread Ramana Radhakrishnan
On Wed, Feb 08, 2012 at 04:29:25PM +0800, Bin Cheng wrote: Hi, Julian Brown once posted a patch fixing ARM EABI violation, which I think also essential to 4.6 branch. I created a patch against 4.6 branch as attached. Is it ok to back port? Ok after 4.6 reopens. Ramana

Re: [PATCH,ARM] Improve peepholes for LDM with commutative operators

2012-02-28 Thread Ramana Radhakrishnan
[Sorry about the duplicate mail. My mailer seems to have eaten up the original reply I sent. ] On Tue, Feb 28, 2012 at 05:09:05PM -, Greta Yorsh wrote: Is it OK for GCC 4.7 Stage 4 ? This is stage4 - I'd like to hear what the RM's think. Technically it's fixing a regression and is low risk

Re: [PATCH] Fix PR52402

2012-02-28 Thread Mike Stump
On Feb 28, 2012, at 3:39 PM, Jakub Jelinek wrote: Here is a fix, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? Sure, but, I can't find -Wpsabi in the docs. :-( If -Wno-abi works, at least it is documented. Ok either way.

<    1   2   3   >