[PATCH, PR70700] Fix ICE in dump_pred_graph

2016-05-01 Thread Tom de Vries
Hi, this patch fixes PR70700, an ICE in tree-ssa-structalias.c:dump_pred_graph for the test-case contained in the patch. In the constraint graph, a node representing a variable varinfo_t var is represented as the corresponding var->id, ranging from 1 to FIRST_REF_NODE - 1. A node represen

Re: [PATCH] Update gmp/mpfr/mpc in-tree versions

2016-05-01 Thread Richard Biener
On Fri, 29 Apr 2016, Bernd Edlinger wrote: > On 29.04.2016 09:46, Richard Biener wrote: > > On Thu, 28 Apr 2016, Bernd Edlinger wrote: > > > >> On 28.04.2016 16:29, Richard Biener wrote: > >>> > >>> Another option would be to try if mini-gmp is enough for our > >>> (in-tree) use and what the perfo

Re: [patch] cleanup *finish_omp_clauses

2016-05-01 Thread Jakub Jelinek
On Sun, May 01, 2016 at 08:11:24PM -0700, Cesar Philippidis wrote: > On 04/29/2016 12:39 AM, Jakub Jelinek wrote: > > >> -extern tree c_finish_omp_clauses (tree, bool, bool = false, bool = false); > >> +extern tree c_finish_omp_clauses (tree, unsigned int); > > > > I think it would be better to a

[SH][committed] Remove defunct mcbranchdi, mcmpeqdi options

2016-05-01 Thread Oleg Endo
Hi, The attached patch removes the defunct mcmpeqdi and mcmpeqdi options, which have been obsoleted a while ago. Moreover, it seems that the cbranchdi4 patterns can be simplified. CSiBE shows some code motion and some +/- 4/8 bytes code size changes, but I didn't spot anything special. Tested o

Re: [patch] cleanup *finish_omp_clauses

2016-05-01 Thread Cesar Philippidis
On 04/29/2016 12:39 AM, Jakub Jelinek wrote: >> -extern tree c_finish_omp_clauses (tree, bool, bool = false, bool = false); >> +extern tree c_finish_omp_clauses (tree, unsigned int); > > I think it would be better to assign an enum value also for the > C_ORT_OMP | C_ORT_DECLARE_SIMD (C_ORT_OMP_DE

Re: [SH][committed] Simplify some predicates

2016-05-01 Thread Oleg Endo
On Sun, 2016-05-01 at 17:05 -0500, Segher Boessenkool wrote: > On Sun, May 01, 2016 at 12:40:15PM +0900, Oleg Endo wrote: > > The attached patch mainly simplifies some of the predicates. There > > is > > no functional change, except the removal of the "mov_nop" pattern, > > which resulted in a fe

Re: [SH][committed] Simplify some predicates

2016-05-01 Thread Segher Boessenkool
Hi Oleg, On Sun, May 01, 2016 at 12:40:15PM +0900, Oleg Endo wrote: > The attached patch mainly simplifies some of the predicates. There is > no functional change, except the removal of the "mov_nop" pattern, > which resulted in a few +- 4/8 byte code size changes in the CSiBE set, > which look l

New Swedish PO file for 'gcc' (version 6.1.0)

2016-05-01 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 Swedish team of translators. The file is available at: http://translationproject.org/latest/gcc/sv.po (This file, 'gcc-6.1.0.sv.po', has just

New Chinese (simplified) PO file for 'gcc' (version 6.1.0)

2016-05-01 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 (simplified) team of translators. The file is available at: http://translationproject.org/latest/gcc/zh_CN.po (This file, 'gcc-6.1.0.

[PATCH, i386]: Fix vector moves with const_m1 operand

2016-05-01 Thread Uros Bizjak
Hello! We have to disable constraints that move -1 to a SSE register for unsupported ISAs. 2016-05-01 Uros Bizjak * config/i386/constraints.md (BC): Only allow -1 operands. * config/i386/sse.md (mov_internal): Add (v,C) alternative. Add "enabled" attribute. Update XI mode attribu

New Chinese (simplified) PO file for 'gcc' (version 6.1.0)

2016-05-01 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 (simplified) team of translators. The file is available at: http://translationproject.org/latest/gcc/zh_CN.po (This file, 'gcc-6.1.0.

[PATCH] integer overflow checking builtins in constant expressions

2016-05-01 Thread Martin Sebor
c/68120 - can't easily deal with integer overflow at compile time, is an enhancement request to make the integer overflow intrinsics usable in constant expressions in C (in addition to letting them be invoked with just two arguments). The inability to use the built-ins in constant expressions als

Re: Fix for PR70498 in Libiberty Demangler

2016-05-01 Thread Marcel Böhme
> On 28 Apr 2016, at 12:28 AM, Bernd Schmidt wrote: > > Please attach it (text/plain) instead. Done. Index: libiberty/ChangeLog === --- libiberty/ChangeLog (revision 235691) +++ libiberty/ChangeLog (working copy) @@ -1,3 +1,22 @@

Re: [patch, libstdc++] std::shuffle: Generate two swap positions at a time if possible

2016-05-01 Thread Eelis
Sorry, forgot to include the libstdc++ list. On 2016-05-01 16:18, Eelis wrote: Hi, The attached patch optimizes std::shuffle for the very common case where the generator range is large enough that a single invocation can produce two swap positions. This reduces the runtime of the following tes

[patch, libstdc++] std::shuffle: Generate two swap positions at a time if possible

2016-05-01 Thread Eelis
Hi, The attached patch optimizes std::shuffle for the very common case where the generator range is large enough that a single invocation can produce two swap positions. This reduces the runtime of the following testcase by 37% on my machine: int main() { std::mt

[patch] cleanups for vtable-verify

2016-05-01 Thread Steven Bosscher
Hello, This patch is random cleanups on the vtable-verify code. OK for trunk? Ciao! Steven gcc/ * vtable-verify.h (verify_vtbl_ptr_fndecl): Add GTY markers. (num_vtable_map_nodes): Remove extern declaration. (vtbl_mangled_name_types, vtbl_mangled_name_ids): Likewise. * vt

Re: [PATCH] Fix bootstrap on powerpc*-aix* (PR bootstrap/70704)

2016-05-01 Thread Jakub Jelinek
On Sun, May 01, 2016 at 11:05:29AM +0200, Andreas Schwab wrote: > Jakub Jelinek writes: > > > + if test "x$enable_checking" = x && \ > > + test -d ${srcdir}/gcc && \ > > + test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then > > +stage1_checking=yes,types,extra > > s/=/=--ena

Re: [PATCH] Fix bootstrap on powerpc*-aix* (PR bootstrap/70704)

2016-05-01 Thread Andreas Schwab
Jakub Jelinek writes: > + if test "x$enable_checking" = x && \ > + test -d ${srcdir}/gcc && \ > + test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then > +stage1_checking=yes,types,extra s/=/=--enable-checking=/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fing

[SH][committed] Remove constraints in expanders

2016-05-01 Thread Oleg Endo
Hi, Constraints in expanders do nothing, so we can remove them. That's what the patch does. Tested on sh-elf with make -k check RUNTESTFLAGS="--target_board=sh-sim\{-m2/-ml,-m2/-mb, -m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"; Committed as r235691. Cheers, Oleg gcc/ChangeLog: * con

[PATCH] Fix spec-options.c test case

2016-05-01 Thread Bernd Edlinger
Hi, I took a closer look at this test case, and I found, except that it triggers a dejagnu bug, it is also wrong. I have tested with a cross-compiler for target=sh-elf and found that the test case actually FAILs because the foo.specs uses "cppruntime" which is only referenced in gcc/config/sh/sup