Fix formatting glitches

2013-06-25 Thread Eric Botcazou
This fixes a few formatting glitches introduced in very recent patches that I ran into when merging them on the sso branch. Bootstrapped/regtested on x86_64-suse-linux, applied on mainline as obvious. 2013-06-25 Eric Botcazou * expr.c (expand_expr_real_1) : Fix formatting glitches.

[patch] Fix error recovery issue with alias

2013-06-25 Thread Eric Botcazou
Hi, this fixes a segfault on a malformed alias declaration, which is correctly flagged as an error by handle_alias_pairs: error: 'Linker_Alias.Var' aliased to undefined symbol 'var2' but is nevertheless later processed as a valid alias by the cgraph machinery. Bootstrapped/regtested on x86_64-

Re: [Patch wwwdocs] gcc-4.9 changes: mention support of the Intel Silvermont microarchitecture

2013-06-25 Thread Kirill Yukhin
Hello, > > Looks good to me; just say "the new Intel...". Checked int www CVS. Thanks, K

[Patch, libgcc] The files auto-target.h and stamp-h should only be removed by "make distclean".

2013-06-25 Thread Chung-Ju Wu
Hi, all, In the discussion thread: http://gcc.gnu.org/ml/gcc/2013-06/msg00176.html There is a bug that auto-target.h and stamp-h are removed by "make clean". The files should only be removed by "make distclean". A patch was then provided and got approval by Ian. Below are ChangeLog and the patch

[ARM] Implement static stack checking

2013-06-25 Thread Eric Botcazou
Hi, this implements static stack checking in the ARM back-end, i.e. checking of the static part of the frame in the prologue before it is created, by means of probes. The implementation is both modelled on that of the SPARC back-end (for the RISCy aspect) and that of the x86 back-end (for the

[PATCH, PR 57208] Add ipa-cp created references to the symbol table

2013-06-25 Thread Martin Jambor
Hi, the patch reportedly fixes an issue when LTO building chromium. It adds references that are created by IPA-CP when propagating references from aggregates (the scalar case is handled by the call graph infrastructure). Bootstrapped and tested on x86_64-linux. OK for trunk? Thanks, Martin

[patch] avoid '//' prefixes when sysroot is set to '/'

2013-06-25 Thread Yvan Roux
Hi, any news on this one, as the issue with --with-sysroot and --with-gxx-include-dir is still present in 4.8 ? http://gcc.gnu.org/ml/gcc-patches/2012-02/msg00320.html Thanks, Yvan PS. Sorry for the re-post, I don't have the original one in my history

[wwwdocs,Patch] Update Fortran part in gcc-4.9/changes.html

2013-06-25 Thread Tobias Burnus
The attached patch updates the Fortran part of the GCC 4.9 release notes. Comments are welcome. Otherwise, I intent to commit it soon. (Well, comments are also welcome after committal ;-) Tobias Index: changes.html === RCS file: /

[PATCH] Allow vectorization of IVs with non-constant step (PR tree-optimization/57705)

2013-06-25 Thread Jakub Jelinek
Hi! While hacking on the gomp4 simd clauses stuff, I've noticed that we don't vectorize IVs with non-constant step. The following patch implements it, basically we just can't rely that the step or VF * step is a constant and instead for VF * step need to emit a temporary with scalar VF * step val

[C++ PR57640] Explicit call of system literal operator complains about leading underscore

2013-06-25 Thread Ed Smith-Rowland
This little nit was certainly latent all along but was only exposed once we got literal ops into the std library. A user who calls a operator explicitly get yelled at for not having anunderscore. OK after testing completes on x86_64-linux? Ed gcc/cp: 2013-06-25 Ed Smith-Rowland <3dw...@ver

[C++] DR1473 - let literal operators be defined with empty user-defined string literal

2013-06-25 Thread Ed Smith-Rowland
This will allow such things as constexpr std::complex operator""if(long double imag); OK after testing completes on x86_64-linux. Ed gcc/cp: 2013-06-25 Ed Smith-Rowland <3dw...@verizon.net> * gcc/cp/parser.c (cp_parser_operator()): Parse user-defined string literal as li

Re: [PATCH] Allow vectorization of IVs with non-constant step (PR tree-optimization/57705)

2013-06-25 Thread Richard Biener
Jakub Jelinek wrote: >Hi! > >While hacking on the gomp4 simd clauses stuff, I've noticed that >we don't vectorize IVs with non-constant step. The following patch >implements it, basically we just can't rely that the step or VF * step >is a constant and instead for VF * step need to emit a tempor

Re: [C++ PR57640] Explicit call of system literal operator complains about leading underscore

2013-06-25 Thread Jason Merrill
OK. Jason

Re: [C++] DR1473 - let literal operators be defined with empty user-defined string literal

2013-06-25 Thread Jason Merrill
On 06/25/2013 08:27 AM, Ed Smith-Rowland wrote: + else if (token->type == CPP_KEYWORD) + { + error ("unexpected keyword;" +" Remove space between quotes and suffix identifier"); + return error_mark_node; + } Lower-case 'r' after a semicolon. Aft

Re: [PATCH, PR 57208] Add ipa-cp created references to the symbol table

2013-06-25 Thread Jan Hubicka
> Hi, > > the patch reportedly fixes an issue when LTO building chromium. It > adds references that are created by IPA-CP when propagating references > from aggregates (the scalar case is handled by the call graph > infrastructure). > > Bootstrapped and tested on x86_64-linux. OK for trunk? >

[c++-concepts] requires expression semantics

2013-06-25 Thread Andrew Sutton
Added a set of nodes to represent requirements inside of a requires expression (EXPR_REQ, TYPE_REQ, NESTED_REQ), and a set of nodes representing the actual checks of those requirements (VALIDEXPR_EXPR, VALIDTYPE_EXPR, CONSTEXPR_EXPR). The VALIDEXPR_EXPR, VALIDTYPE_EXPR, and CONSTEXPR_EXPR nodes ar

Re: [PATCH, x86] Use vector moves in memmove expanding

2013-06-25 Thread Michael Zolotukhin
Ping. On 20 June 2013 20:56, Michael Zolotukhin wrote: > It seems that one of the tests needed a small fix. > Attached is a corrected version. > > On 20 June 2013 17:16, Michael Zolotukhin > wrote: >> Hi, >> I added two tests to verify we generate vector instructions when >> vector_loop is used.

Re: [PATCH] Replace dynamic arrays with vec_tree in Array Notation for C

2013-06-25 Thread Richard Henderson
On 06/21/2013 05:50 PM, Iyer, Balaji V wrote: > Hello Richard et al., > As I mentioned in my previous email, I have changed all the dynamic > array usage in the Array notation for C with vec_trees. I have also made them > share the structures from Array Notation for C++. > In additio

Re: [PATCH] Cilk Plus Array Notation for C++

2013-06-25 Thread Jason Merrill
On 06/24/2013 06:23 PM, Iyer, Balaji V wrote: Actually, to reduce the amount of changes to non-AN code, let's put the AN case third, after the offset and {} cases, so you get something like else if (flag_enable_cilkplus) { tree an = cp_parser_array_notation (loc, parser, &index,

New Chinese (traditional) PO file for 'gcc' (version 4.8.0)

2013-06-25 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 Chinese (traditional) team of translators. The file is available at: http://translationproject.org/latest/gcc/zh_TW.po (This file, 'gcc-4.8.0

[c++-concepts] out-of-class member definition

2013-06-25 Thread Andrew Sutton
Adds initial support for matching constrained out-of-class member function definitions to their declarations. Like so: template struct S { void f(const T& x) requires Copyable(); }; template void S::f() requires Copyable() { ... }; This does not a complete solution. It won't co

[PATCH, AArch64] Minor refactoring of aarch64_add_offset

2013-06-25 Thread Yufeng Zhang
This patch carries out minor refactoring on aarch64_add_offset; it replaces 'DImode' and 'Pmode' with 'mode'. OK for the trunk? Thanks, Yufeng gcc/ * config/aarch64/aarch64.c (aarch64_add_offset): Change to pass 'mode' to aarch64_plus_immediate and gen_rtx_PLUS.diff --git a/g

[PATCH, AArch64] Minor refactoring of aarch64_force_temporary

2013-06-25 Thread Yufeng Zhang
This patch adds a new parameter 'mode' of type 'enum machine_mode mode' to aarch64_force_temporary, and updates the calls to it. OK for the trunk? Thanks, Yufeng gcc/ * config/aarch64/aarch64.c (aarch64_force_temporary): Add an extra parameter 'mode' of type 'enum machine_mode

Go patch committed: Fix some type determination issues

2013-06-25 Thread Ian Lance Taylor
This patch to the Go frontend fixes some type determination issues that show up in the current master Go testsuite. There were some cases where types were not being determined, which lead to incorrect error messages and in some cases the wrong thing happening. Bootstrapped and ran Go testsuite on

[Patch, AArch64] Vector cost model.

2013-06-25 Thread Tejas Belagod
Hi, The attached patch implements a generic vector cost model for aarch64. Regression tested on aarch64-none-elf. OK? Thanks, Tejas Belagod. ARM. 2013-06-25 Tejas Belagod gcc/ * config/aarch64/aarch64-protos.h (cpu_vector_cost): New. (tune_params): New member 'const vec_c

Go patch committed: Update shift test

2013-06-25 Thread Ian Lance Taylor
This patch updates the shift test to the current master version, to correspond to the patch I just submitted. Committed to mainline and 4.8 branch. Ian Index: gcc/testsuite/go.test/test/shift1.go === --- gcc/testsuite/go.test/test/s

[PATCH, AArch64] Support abs standard pattern for DI mode

2013-06-25 Thread Ian Bolton
Hi, I'm adding support for abs standard pattern name for DI mode, via the ABS instruction in FP registers and the EOR/SUB combo in GP registers. Regression tests for Linux and bare-metal all passed. OK for trunk? Cheers, Ian 2013-06-25 Ian Bolton gcc/ * config/aarch64/aarch64-simd

Re: [PATCH,ARM] Define MAX_CONDITIONAL_EXECUTE

2013-06-25 Thread Ramana Radhakrishnan
On Mon, Jun 17, 2013 at 12:18 PM, Greta Yorsh wrote: > This patch makes the following changes: > * Define MAX_CONDITIONAL_EXECUTE in arm backend using max_insns_skipped, > which is set based on the current tune. > * Update max_insns_skipped for Cortex-A15 tune to be 2 (instead of 5). > * Use max_i

RE: [PATCH] Cilk Plus Array Notation for C++

2013-06-25 Thread Iyer, Balaji V
> -Original Message- > From: Jason Merrill [mailto:ja...@redhat.com] > Sent: Tuesday, June 25, 2013 10:39 AM > To: Iyer, Balaji V; Richard Henderson > Cc: Aldy Hernandez; gcc-patches@gcc.gnu.org > Subject: Re: [PATCH] Cilk Plus Array Notation for C++ > > On 06/24/2013 06:23 PM, Iyer, Bal

Re: [PATCH] Cilk Plus Array Notation for C++

2013-06-25 Thread Jason Merrill
On 06/25/2013 02:27 PM, Iyer, Balaji V wrote: This time, I ran the command you gave me. Please tell me how it looks. No ChangeLog this time, thanks. Another solution is to replace get_tmp_regvar with get_temporary_var () + add_decl_expr (..). I have implemented this because it looks "more co

Re: [PATCH] Basic support for MIPS r5900

2013-06-25 Thread Richard Sandiford
Jürgen Urban writes: > Am 23.06.2013 um 22:21 schrieb Richard Sandiford : >>> In the native PS2SDK (i.e. no Linux) I detected that there are undefined >>> references to `__fixtfsi', `__floatsitf', `__subtf3', `__multf3', >>> __extenddftf2', `__lttf2' and `__gttf2'. These are the functions for >>>

[Patch, Fortran] Add end-of-scope finalization (Part 2 of 2)

2013-06-25 Thread Tobias Burnus
This patch adds finalization calls for components. This completes the end-of-scope finalization, but it is also called for the LHS of intrinsic assignment. (LHS finalization for the variable itself is still lacking.) Build and regtested on x86-64-gnu-linux. OK for the trunk? Tobias 2013-06-25

[v3] Avoid 4 check-debug spurious fails

2013-06-25 Thread Paolo Carlini
Hi, noticed while working on the container insert / emplace C++11 signatures. Committed mainline and 4_8-branch. Thanks, Paolo. /// 2013-06-25 Paolo Carlini * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: Avoid spurious fails with check-debug.

Re: C++ 2014 status page for libstdc++

2013-06-25 Thread Ed Smith-Rowland
On 06/25/2013 11:59 AM, Jonathan Wakely wrote: On 25 June 2013 16:45, <3dw...@verizon.net> wrote: Here is a C++2014 status page for fun and profit. Excellent, thanks! Tested with xmllint. Are there any other tests I should do? The makefile target to check the docbook manual is: make doc-xm

[PATCH] Fix for PR 57692

2013-06-25 Thread Iyer, Balaji V
Hello Everyone, This patch will fix a FAIL in one of the test cases for array notations. The reason for fail is that the array sizes were huge and thus it was causing a stack overflow. This patch should fix the issue. I am committing this patch as semi-obvious. I am willing to revert thi