[PATCH, AArch64] Add support for wsp register

2013-07-04 Thread Yufeng Zhang
Hi, This patch adds support for the register wsp; in ILP32, this is necessary in order to support the global register variable associated the stack pointer with the syntax asm (wsp); it is used in libgloss to get the stack pointer. OK for the trunk? Thanks, Yufeng gcc/ *

RE: [AArch64] Convert ld1, st1 arm_neon.h intrinsics to RTL builtins.

2013-07-04 Thread James Greenhalgh
2013-07-02 James Greenhalgh james.greenha...@arm.com * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_builtin): Handle AARCH64_SIMD_STORE1. * config/aarch64/aarch64-simd-builtins.def (ld1): New. (st1): Likewise. * config/aarch64/aarch64-simd.md

[v3] libstdc++/57808

2013-07-04 Thread Paolo Carlini
Hi, committed to mainline. Thanks, Paolo. / 2013-07-04 Ray Chason chas...@newsguy.com Paolo Carlini paolo.carl...@oracle.com PR libstdc++/57808 * include/bits/regex.h (regex_token_iterator::operator==,

Re: [PING] Re: C++ 2014 status page for libstdc++

2013-07-04 Thread Jonathan Wakely
On 3 July 2013 22:42, Ed Smith-Rowland wrote: On 06/27/2013 11:24 PM, Ed Smith-Rowland wrote: Finally, should we put a line for thins in the 4.9 changes page? PING! Is adding links to the C++2014 library page OK? From http://gcc.gnu.org/gcc-4.9/changes.html? Yes, that's OK, the source for

Ping: [PATCH] Set $ac_aux_dir before use in libdecnumber/configure

2013-07-04 Thread Simon Baldwin
Ping. On 20 June 2013 20:19, Simon Baldwin sim...@google.com wrote: Set $ac_aux_dir before use in libdecnumber/configure. libdecnumber/configure uses $ac_aux_dir before it is set, causing incorrect MISSING value. Fix with explicit AC_CONFIG_AUX_DIR. Bootstrapped for c/c++. Okay for

Re: MIPS elimate trap-if-zero instruction if possible for divisions

2013-07-04 Thread Graham Stott
Hi Jeff, Richard We could possibly also use VRP to change signed division to unsigned division when dividing a non-negative signed operand by a power of 2 because then the sign bit will be 0 and we could do the division using logical shift right.   Graham

Re: [patch i386]: RFC enable inlining for function with machine-attributes

2013-07-04 Thread Kai Tietz
Hi, here is the adjusted patch for this PR. 2013-07-04 Kai Tietz kti...@redhat.com PR target/56892 * config/i386/i386.c (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): Define as hook_bool_const_tree_true. Tested for x86_64-w64-mingw32, i686-pc-cygwin, and x86_64-unknown-linux-gnu. Ok

[C++ testcase, committed] PR 54998

2013-07-04 Thread Paolo Carlini
Hi, tested x86_64-linux, committed to mainline. Thanks, Paolo. / 2013-07-04 Paolo Carlini paolo.carl...@oracle.com PR c++/54998 * g++.dg/cpp0x/nsdmi-list3.C: New. Index: g++.dg/cpp0x/nsdmi-list3.C

RE: [PATCH,i386] Default alignment for AMD BD and BT

2013-07-04 Thread Gopalasubramanian, Ganesh
Hi Uros, Can this be backported now! Regards Ganesh -Original Message- From: Uros Bizjak [mailto:ubiz...@gmail.com] Sent: Thursday, May 30, 2013 1:40 PM To: Gopalasubramanian, Ganesh Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH,i386] Default alignment for AMD BD and BT On Wed, May

Re: [PATCH,i386] Default alignment for AMD BD and BT

2013-07-04 Thread Jakub Jelinek
On Thu, Jul 04, 2013 at 11:14:24AM +, Gopalasubramanian, Ganesh wrote: Can this be backported now! Yes. Jakub

Re: [PATCH, rs6000] PR target/57150, do not use VSX instructions for long double caller saves

2013-07-04 Thread Joseph S. Myers
On Wed, 3 Jul 2013, Joseph S. Myers wrote: That change has the effect that reload thinks TFmode (and no doubt TDmode) only takes two registers even when in general registers, causing a segfault in glibc's test-ldouble built for soft float. I'm testing this patch (this diff is against 4.8

Re: [c++-concepts] requires expression semantics

2013-07-04 Thread Andrew Sutton
Unfortunately, the behavior differs from the test suite for std::is_convertible. In particular, this fails: static_assert(__is_convertible_to(int(int), int()(int)), ); whereas this succeeds ) static_assert(is_convertibleint(int), int()(int)::value, ); Hmm, that probably has to do with

Re: [C++ Patch] PR 38634 (Take 2)

2013-07-04 Thread Jason Merrill
On 07/03/2013 03:17 PM, Paolo Carlini wrote: In the first try, bailing out early in case of error without undoing the committed changes to decl1 made me a little nervous. The below variant works at first on newdecl and only if push_template_decl goes well, copies it back to decl1. Still passes

Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power

2013-07-04 Thread David Edelsohn
On Mon, Jul 1, 2013 at 11:12 PM, Peter Bergner berg...@vnet.ibm.com wrote: On May 10th, the Power Architecture Advisory Council announced the public availability of Power ISA 2.07. https://www.power.org/documentation/power-isa-version-2-07/ This patch adds support for Hardware

[PATCH] Fix pr571518.c test case.

2013-07-04 Thread Marcus Shawcroft
Hello, This: http://gcc.gnu.org/ml/gcc-patches/2013-06/msg00767.html recently introduced test case uses the pattern: /* { dg-final { scan-rtl-dump-not REG_EQUIV.*mem.*\ip\ ira } } */ I believe the intention is to look for the three tokens, in order within a single instruction, the

[PING] [PATCH 4/4] Fix leading spaces.

2013-07-04 Thread Ondřej Bílka
Ping On Tue, Jun 18, 2013 at 02:56:52PM +0800, Chung-Ju Wu wrote: 2013/6/16 Ondřej Bílka nel...@seznam.cz: On Sat, Jun 15, 2013 at 05:13:31PM +0800, Chung-Ju Wu wrote: 2013/6/14 Joseph S. Myers jos...@codesourcery.com: On Thu, 13 Jun 2013, Richard Biener wrote: Btw, rather than these

Re: RFA: fix vrp66.c spurious failure for 16 bit int

2013-07-04 Thread Jakub Jelinek
On Tue, Jul 02, 2013 at 01:14:35PM -0400, Joern Rennecke wrote: 2013-07-02 Joern Rennecke joern.renne...@embecosm.com * testsuite/gcc.dg/tree-ssa/vrp66.c: Make conditional on No testsuite/ in the ChangeLog entry. { target { ! int16 } } . *

Re: [PATCH] Fix pr571518.c test case.

2013-07-04 Thread Dominique Dhumieres
Hi Marcus, I also see pr57518.c failing on x86_64-apple-darwin10 (with -m64) and powerpc-apple-darwin9 (both -m32 and -m64). Your patch fixes them. Thanks, Dominique

Re: MIPS elimate trap-if-zero instruction if possible for divisions

2013-07-04 Thread Jeff Law
On 07/04/2013 04:04 AM, Graham Stott wrote: Hi Jeff, Richard We could possibly also use VRP to change signed division to unsigned division when dividing a non-negative signed operand by a power of 2 because then the sign bit will be 0 and we could do the division using logical shift right.

Re: [C++ Patch] PR 38634 (Take 2)

2013-07-04 Thread Paolo Carlini
Hi Jason Merrill ja...@redhat.com ha scritto: Since newdecl points to the same tree node as decl1, I don't see what difference this would make. Yeah ;) I think it would if instead of tree newdecl = decl1 I had copy_node (decl1), right? But I understand it's normally not needed... And I'm

RFA: Fix c/57821

2013-07-04 Thread Joern Rennecke
For this fix I've assumed that it is now the job of the various places that do calculations with sizetypes to flag overflows where this is desired. bootstrapped/regtested on i686-pc-linux-gnu . 2013-07-04 Joern Rennecke joern.renne...@embecosm.com gcc: PR c/57821 * c/c-typeck.c

Re: RFA: Fix c/57821

2013-07-04 Thread Joseph S. Myers
On Thu, 4 Jul 2013, Joern Rennecke wrote: For this fix I've assumed that it is now the job of the various places that do calculations with sizetypes to flag overflows where this is desired. Integer constants may be shared, I don't think setting TREE_OVERFLOW on existing constants like you do

Re: RFA: Fix c/57821

2013-07-04 Thread Joern Rennecke
Quoting Joseph S. Myers jos...@codesourcery.com: On Thu, 4 Jul 2013, Joern Rennecke wrote: For this fix I've assumed that it is now the job of the various places that do calculations with sizetypes to flag overflows where this is desired. Integer constants may be shared, I don't think

Re: RFA: Fix c/57821

2013-07-04 Thread Joseph S. Myers
On Thu, 4 Jul 2013, Joern Rennecke wrote: Quoting Joseph S. Myers jos...@codesourcery.com: On Thu, 4 Jul 2013, Joern Rennecke wrote: For this fix I've assumed that it is now the job of the various places that do calculations with sizetypes to flag overflows where this is desired.

Re: unordered containers: reuse nodes on assignment

2013-07-04 Thread François Dumont
On 07/01/2013 11:35 PM, Paolo Carlini wrote: On 07/01/2013 09:35 PM, François Dumont wrote: This is it indeed, I am surprised this problem is so old, a Standard issue perhaps ? If not I might add it to my todo list. Yesterday I had a look and I think it's just a bug, I found in Bugzilla a

[patch] Fix typos in libstdc++ comments and docs

2013-07-04 Thread Jonathan Wakely
This patch fixes the libstdc++ parts of the patch at http://gcc.gnu.org/ml/gcc/2013-07/msg00039.html 2013-07-04 Veres Lajos vla...@gmail.com Jonathan Wakely jwakely@gmail.com * config/locale/generic/codecvt_members.cc: Fix typo. * configure.host: Likewise.

Re: unordered containers: reuse nodes on assignment

2013-07-04 Thread Jonathan Wakely
On 4 July 2013 21:54, François Dumont wrote: And about the patch itself, is it ok ? Yes, that latest patch is OK, thanks. It's made me think about the design a bit more though ... I've been a little uncomfortable for some time with the number of template parameters that are needed everywhere

[PATCH] PR57792: Bootstrap darwin13 or later with --with-sysroot to find SDK

2013-07-04 Thread Jack Howarth
The attached patch eliminates the problem of the SDK being removed from / in darwin13 and later by appending --with-sysroot=\`xcrun --show-sdk-path`\ to host_configargs in the top-level configure for those cases . Bootstrap tested on x86_64-apple-darwin13. Okay for gcc trunk and