[SH][committed] Use TARGET_FPU_DOUBLE condition

2016-04-30 Thread Oleg Endo
Hi, The attach patch simplifies the 'TARGET_SH4 || TARGET_SH2A_DOUBLE' checks to 'TARGET_FPU_DOUBLE'. 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 r235689. Cheers, Oleg gcc/ChangeLog:

Re: Remove SH_DIV_CALL2

2016-04-30 Thread Oleg Endo
On Sun, 2016-05-01 at 12:43 +0900, Yoshinori Sato wrote: > Build failed on sh-*-linux and sh-*-netbsd. > Please update. Thanks for spotting it and for the patch. I've committed it as r235688 on your behalf. Cheers, Oleg > > diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h > index

Remove SH_DIV_CALL2

2016-04-30 Thread Yoshinori Sato
Build failed on sh-*-linux and sh-*-netbsd. Please update. diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h index 09e966b..6117b9d 100644 --- a/gcc/config/sh/linux.h +++ b/gcc/config/sh/linux.h @@ -117,13 +117,6 @@ along with GCC; see the file COPYING3. If not see #define

[SH][committed] Simplify some predicates

2016-04-30 Thread Oleg Endo
Hi, 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 like register allocation choices. But not sure what the original

Re: [Ada] Adjust ACATS testing

2016-04-30 Thread H.J. Lu
On Sat, Apr 30, 2016 at 10:21 AM, Eric Botcazou wrote: >> Does this fix >> >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14435 > > Surprisingly yes according to 'strace' because of this change: > > target_gnatchop () { > - gnatchop --GCC="$GCC_DRIVER" $* > +

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

2016-04-30 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,

Re: [PATCH] Improve detection of constant conditions during jump threading

2016-04-30 Thread Patrick Palka
`On Fri, Apr 29, 2016 at 3:15 PM, Jeff Law wrote: > On 04/19/2016 11:50 AM, Patrick Palka wrote: > >> 1. This patch introduces a "regression" in gcc.dg/tree-ssa/ssa-thread-11.c >> in that we no longer perform FSM threading during vrp2 but instead we >> detect two new jump

Re: [patch] libstdc++: Make std::shuffle faster by avoiding std::uniform_int_distribution

2016-04-30 Thread Eelis
Please ignore this, I made the error described here: https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#Implementation_errors :) On 2016-04-30 21:15, Eelis wrote: Hi, The attached patch makes std::shuffle about 33% faster for the following testcase: #include #include

[patch] libstdc++: Make std::shuffle faster by avoiding std::uniform_int_distribution

2016-04-30 Thread Eelis
Hi, The attached patch makes std::shuffle about 33% faster for the following testcase: #include #include #include int main() { std::mt19937 gen; std::vector v; v.reserve(1); for

Canonicalize X u< X to UNORDERED_EXPR

2016-04-30 Thread Marc Glisse
Hello, this case seemed to be missing in the various X cmp X transformations. It does not change the generated code in the testcase. The missing :c is rather trivial. I can commit it separately if you prefer. Bootstrap+regtest on powerpc64le-unknown-linux-gnu. 2016-05-02 Marc Glisse

Re: [Ada] Adjust ACATS testing

2016-04-30 Thread Eric Botcazou
> Does this fix > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14435 Surprisingly yes according to 'strace' because of this change: target_gnatchop () { - gnatchop --GCC="$GCC_DRIVER" $* + $BASE/gnatchop --GCC="$BASE/xgcc" $* } and the following trick implemented in gnatchop: -- Add

Re: [PATCH #2], Fix _Complex when there are multiple FP types the same size

2016-04-30 Thread Segher Boessenkool
On Fri, Apr 29, 2016 at 04:51:27PM -0400, Michael Meissner wrote: > 2016-04-29 Michael Meissner > > * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Add > support for __float128 complex datatypes. > (rs6000_hard_regno_mode_ok):

Re: [Ada] Adjust ACATS testing

2016-04-30 Thread H.J. Lu
On Sat, Apr 30, 2016 at 3:42 AM, Eric Botcazou wrote: > Unlike the gnat.dg testsuite, the ACATS testsuite doesn't use the newly built > gnatmake/gnatbind/gnatlink tools, which is rather inconsistent. > > Fixed thusly, tested on x86_64-suse-linux, applied on the mainline. >

Re: [PATCH 3/4] Run profile feedback tests with autofdo

2016-04-30 Thread Bernhard Reutner-Fischer
On April 27, 2016 5:27:32 PM GMT+02:00, Bernd Schmidt wrote: >On 03/28/2016 06:44 AM, Andi Kleen wrote: >> From: Andi Kleen > >> @@ -313,6 +320,7 @@ proc profopt-execute { src } { >> # valid, by running it after dg-additional-files-options. >>

Contents of PO file 'cpplib-6.1.0.sv.po'

2016-04-30 Thread Translation Project Robot
cpplib-6.1.0.sv.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

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

2016-04-30 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'cpplib' has been submitted by the Swedish team of translators. The file is available at: http://translationproject.org/latest/cpplib/sv.po (This file,

Re: [SH][committed] Remove SH5 support in compiler

2016-04-30 Thread Oleg Endo
Joseph, Thanks for keeping an eye on that. On Sat, 2016-04-30 at 09:39 +, Joseph Myers wrote: > On Sat, 30 Apr 2016, Oleg Endo wrote: > > > * config.guess: Remove SH5 support. > > * config.sub: Likewise. > > Please revert. These files must come verbatim from config.git with > no

Re: [PATCH] Clean up tests where a later dg-do completely overrides another.

2016-04-30 Thread Bernd Edlinger
Hi, nice bug, we should not test it in the gcc testsuite. Could you just split the spec-options.c test case in one that compiles everywhere, and one that executes only on target sh*-*-* ? Bernd.

[Ada] Adjust ACATS testing

2016-04-30 Thread Eric Botcazou
Unlike the gnat.dg testsuite, the ACATS testsuite doesn't use the newly built gnatmake/gnatbind/gnatlink tools, which is rather inconsistent. Fixed thusly, tested on x86_64-suse-linux, applied on the mainline. 2016-04-30 Eric Botcazou *

Re: [PATCH] Drop excess size used for run time allocated stack variables.

2016-04-30 Thread Dominik Vogt
On Sat, Apr 30, 2016 at 11:44:01AM +0200, Eric Botcazou wrote: > > The attached patch removes excess stack space allocation with > > alloca in some situations. Plese check the commit message in the > > patch for details. > > This might fix PR middle-end/50938. This certainly looks like what I

[rs6000] Fix 32-bit bootstrap failure

2016-04-30 Thread Eric Botcazou
Hi 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 and that would yield multiple alternatives with identical values.

Re: [PATCH] Drop excess size used for run time allocated stack variables.

2016-04-30 Thread Eric Botcazou
> The attached patch removes excess stack space allocation with > alloca in some situations. Plese check the commit message in the > patch for details. This might fix PR middle-end/50938. -- Eric Botcazou

Re: [SH][committed] Remove SH5 support in compiler

2016-04-30 Thread Joseph Myers
On Sat, 30 Apr 2016, Oleg Endo wrote: > * config.guess: Remove SH5 support. > * config.sub: Likewise. Please revert. These files must come verbatim from config.git with no local changes. If you persuade config-patches that SH5 support should be removed there then you can import

Re: [SH][committed] Remove SH5 support in compiler

2016-04-30 Thread Oleg Endo
On Sat, 2016-04-30 at 14:44 +0900, Oleg Endo wrote: > On Sat, 2016-04-30 at 10:58 +0900, Oleg Endo wrote: > > On Fri, 2016-04-29 at 23:11 +0900, Oleg Endo wrote: > > > On Fri, 2016-04-29 at 19:45 +0900, Oleg Endo wrote: > > > > On Thu, 2016-04-28 at 10:27 +0900, Oleg Endo wrote: > > > > > > > > >

Re: Enabling -frename-registers?

2016-04-30 Thread Andreas Schwab
Richard Biener writes: > It shows overall benefit on Itanic and ups and downs on x86. It's causing bootstrap comparison failures on ia64. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5