Re: [RFC, PATCH, Fortran] PR fortran/60289 Fixing character array allocation for class(*) type variable

2014-12-21 Thread Andre Vehreschild
Dear all, sorry for the bad patch yesterday. Here is an update to that one. It fixes the pr60289 is GNU-style checked, bootstraps and regtests ok on x86_64-linux-gnu. Comments welcome. Regards, Andre On Sat, 20 Dec 2014 16:38:23 +0100 Andre Vehreschild ve...@gmx.de wrote: Dear all,

[match-and-simplify] add default arguments to parser::parse_simplify.

2014-12-21 Thread Prathamesh Kulkarni
Committed (r218996) as obvious. Thanks, Prathamesh 2014-12-21 Prathamesh Kulkarni prathamesh.kulka...@linaro.org * genmatch.c (parser::parse_simplify): Make last two parametes have default value 0. (parser::parse_pattern): Adjust call to parser::parse_simplify to avoid passing

[patch] libstdc++/64367 fix __sso_string to compile with clang

2014-12-21 Thread Jonathan Wakely
Tested powerpc64-linux, committed to trunk. commit 922a84d1db99455f6d8900453ea5615f93b124f1 Author: Jonathan Wakely jwak...@redhat.com Date: Sun Dec 21 13:54:39 2014 + PR libstdc++/64367 * include/std/stdexcept: Don't use non-static member in sizeof. diff --git

Re: [RFC PATCH 9/9] [SH] Split QI/HImode load/store via r0

2014-12-21 Thread Oleg Endo
On Thu, 2014-12-18 at 10:04 +0900, Kaz Kojima wrote: This patch is discussed in PR55212 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212#c77 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212#c82 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212#c83 and is to improve code quality with

[match-and-simplify] Remove printing for expression

2014-12-21 Thread Prathamesh Kulkarni
Hi, I removed printing for expression: from print_matches. I think it is out of place tvim here and we call print_matches after lowering. OK to commit ? Thanks, Prathamesh Index: gcc/genmatch.c === --- gcc/genmatch.c (revision

Re: [match-and-simplify] Remove printing for expression

2014-12-21 Thread Prathamesh Kulkarni
On 22 December 2014 at 03:21, Prathamesh Kulkarni prathamesh.kulka...@linaro.org wrote: Hi, I removed printing for expression: from print_matches. I think it is out of place tvim here and we call print_matches after lowering. OK to commit ? s/tvim here/there. Thanks, Prathamesh

Add refers_to_regno_p overload to simplify callers

2014-12-21 Thread Oleg Endo
Hi, It seems that quite some callers of refers_to_regno_p are interested in testing a single register number only. The caller code can be simplified by adding an overload for refers_to_regno_p. This is what the patch does. No functional changes. Tested with 'make all-gcc' on sh-elf cross

[SH][committed] Add PR 17280 test case

2014-12-21 Thread Oleg Endo
Hi, This adds a test case for PR 17280. Tested with make -k check-gcc RUNTESTFLAGS=sh-torture.exp --target_board=sh-sim \{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb} Committed as r218998. Cheers, Oleg gcc/testsuite/ChangeLog: PR target/17280 *

Re: [RFC PATCH 8/9] [SH] Add splitter to addsi3_compact

2014-12-21 Thread Oleg Endo
On Thu, 2014-12-18 at 10:04 +0900, Kaz Kojima wrote: This patch is discussed in PR55212 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212#c65 and is to make LRA's register elimination work well on SH. The problem is SH has very limited add instructions only and expands rA := rB + N to

Re: [PATCH 4/4] Add Visium support to gcc/testsuite

2014-12-21 Thread Jeff Law
On 12/11/14 17:13, Eric Botcazou wrote: gcc/testsuite/ChangeLog: 2014-12-11 Eric Botcazou ebotca...@adacore.com * lib/target-supports.exp (check_profiling_available): Return 0 for Visium. (check_effective_target_tls_runtime): Likewise.

Re: [PATCH 1/4] Add Visium support to toplevel

2014-12-21 Thread Jeff Law
On 12/11/14 17:09, Eric Botcazou wrote: ChangeLog 2014-12-11 Eric Botcazou ebotca...@adacore.com * config.sub: Update from upstream config repo. * configure.ac: Add Visium support. * configure: Regenerate. OK when rest of bits are approved. jeff

Re: [PATCH 2/4] Add Visium support to libgcc

2014-12-21 Thread Jeff Law
On 12/19/14 15:33, Eric Botcazou wrote: Revision version, the divmod and the parity routines have been reimplemented based on libgcc2.c and all the new files are now under GPL+exception. libgcc/ChangeLog 2014-12-19 Eric Botcazou ebotca...@adacore.com * config.host: Add Visium

[PATCH 1/1] gcc/ira-build.c: save a conflict obj compare in ira_flattening

2014-12-21 Thread Zhouyi Zhou
In function ira_flattening, conflict relationship will be rebuilt in case of any new pseudo register has been created during ira_emit. By adding the current object to OBJECTS_LIVE after traversing OBJECTS_LIVE, a conflict obj compare can be saved. Bootstraped and regtested in x86_64 Linux

Re: [PATCH PR62151]Fix REG_DEAD note distribution issue by using right ELIM_I0/ELIM_I1

2014-12-21 Thread Bin.Cheng
On Sat, Dec 20, 2014 at 8:18 PM, Eric Botcazou ebotca...@adacore.com wrote: As described both in the PR and patch comments, this patch fixes PR62151 by setting right value to ELIM_I0/ELIM_I1 when distributing REG_DEAD notes from i0/i1. It is said that distribute_notes had caused many bugs in