Re: [PATCH, aarch64] Fix target/70120

2016-03-25 Thread Jeff Law
On 03/21/2016 11:44 AM, Richard Henderson wrote: On 03/21/2016 06:40 AM, Jiong Wang wrote: On 17/03/16 19:17, Richard Henderson wrote: PR target/70120 * varasm.c (for_each_section): New. * varasm.h (for_each_section): Declare. * config/aarch64/aarch64.c (aarch64_align_code_section):

Goodbye REG_FREQ_CALLS_CROSSED and REG_N_THROWING_CALLS_CROSSED

2016-03-25 Thread Alan Modra
These two are unused too. Bootstrapped etc. x86_64-linux. OK for stage1? * regs.h (struct reg_info_t): Delete freq_calls_crossed and throw_calls_crossed. (REG_FREQ_CALLS_CROSSED): Delete. (REG_N_THROWING_CALLS_CROSSED): Delete. * regstat.c (regstat_bb_compu

Goodbye REG_LIVE_LENGTH

2016-03-25 Thread Alan Modra
On Thu, Mar 24, 2016 at 09:20:36AM +1030, Alan Modra wrote: > On Wed, Mar 23, 2016 at 01:03:18AM +0100, Bernd Schmidt wrote: > > >@@ -3536,7 +3557,8 @@ update_equiv_regs (void) > > > { > > > /* Note that the statement below does not affect the priority > > >in

Re: [PATCH] c++/65579 - set readonly bit on static constexpr members of templates

2016-03-25 Thread Jason Merrill
On 03/17/2016 06:40 PM, Martin Sebor wrote: On 03/17/2016 08:07 AM, Jason Merrill wrote: On 03/09/2016 05:09 PM, Martin Sebor wrote: While going through constexpr bugs looking for background on one I'm currently working on I came across bug 65579 - [C++11] gcc requires definition of a static co

C++ PATCH for c++/70353 (core issue 1962)

2016-03-25 Thread Jason Merrill
70353 is a problem with the function-local static declaration of __func__. Normally constexpr functions can't have local statics, so this is only an issue with __func__. Meanwhile, core issue 1962 looks like it's going to be resolved by changing __func__ et al to be prvalue constants of type

[PATCH OBV] Adjust dg-do directive in mangle2.C

2016-03-25 Thread Patrick Palka
Committed as obvious. gcc/testsuite/ChangeLog: PR c++/62212 * g++.dg/template/mangle2.C: The dg-do directive should be "compile" not "assemble". --- gcc/testsuite/g++.dg/template/mangle2.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g

Re: [PATCH, i386, AVX-512] Fix PR target/70406.

2016-03-25 Thread Uros Bizjak
On Fri, Mar 25, 2016 at 5:11 PM, Kirill Yukhin wrote: > Hello, > Patch in the bottom fixes ICE caused by incosistence of modes > in andn splitter. > > Bootstrapped & regtested (32/64b x86 targets). > Richard, is it ok for main trunk? > > gcc/ > PR target/70406 > * config/i386/i38

Re: Fix 69650, bogus line numbers from libcpp

2016-03-25 Thread Jeff Law
On 03/24/2016 03:25 PM, Jeff Law wrote: On 03/24/2016 09:20 AM, Bernd Schmidt wrote: Like this? No one has yet approved any better wording for the message, so given that you said "it's not a regression" I've left it, but I would now prefer "linemarker ignored due to incorrect nesting". Bernd

[PATCH, i386, AVX-512] Fix PR target/70406.

2016-03-25 Thread Kirill Yukhin
Hello, Patch in the bottom fixes ICE caused by incosistence of modes in andn splitter. Bootstrapped & regtested (32/64b x86 targets). Richard, is it ok for main trunk? gcc/ PR target/70406 * config/i386/i386.md (define_split, andn): Fix modes. gcc/testsuite/ PR target/

Re: [PATCH][CilkPlus] Allow parenthesized initialization in for-loops

2016-03-25 Thread Ilya Verbin
On Mon, Mar 21, 2016 at 15:58:18 +0100, Jakub Jelinek wrote: > On Mon, Mar 21, 2016 at 05:45:52PM +0300, Ilya Verbin wrote: > > www.cilkplus.org/sites/default/files/open_specifications/Intel_Cilk_plus_lang_spec_1.2.htm > > says: > > In C++, the control variable shall be declared and initialized w

Re: [RS6000, PATCH] PR70052, ICE compiling _Decimal128 test case

2016-03-25 Thread Alan Modra
On Thu, Mar 24, 2016 at 12:51:05PM -0400, David Edelsohn wrote: > The patch did not convert all "j" constraints, so the ChangeLog needs > to be a little clearer to explain which alternatives required the > change. Um, I did intend to change all "j" constraints in insns handling decimal float. I s

[Patch, fortran] PR69603 - ICE: segfault with -fimplicit-none and proc_ptr_comp_24.f90

2016-03-25 Thread Harald Anlauf
Hi, the above ICE is fixed by the following simple/trivial fix: Index: gcc/fortran/interface.c === --- gcc/fortran/interface.c (revision 234170) +++ gcc/fortran/interface.c (working copy) @@ -2006,7 +2006,7 @@ compare_paramet