[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

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

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

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

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

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,

[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.

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,

[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

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

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

[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() {

[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. *

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 > > +

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,

[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: *

[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

Re: [rs6000] Fix 32-bit bootstrap failure

2016-05-01 Thread Segher Boessenkool
On Sat, Apr 30, 2016 at 11:51:15AM +0200, Eric Botcazou wrote: > it's the recurring issue documented in rs6000_expand_ternop_builtin: > > Note that a switch statement instead of the sequence of tests > would be incorrect as many of the CODE_FOR values could be > CODE_FOR_nothing