[SH][committed] Fix build after changes for PR 52171

2016-06-04 Thread Oleg Endo
Hi, The recent changes for PR 52171 didn't update the users of the renamed function 'move_by_pieces_ninsns'. The attached patch fixes this. Tested with "make all". Committed as r237090. Cheers, Oleg gcc/ChangeLog: PR tree-optimization/52171 * config/sh/sh.c (sh_use_by_

Re: [PATCH v2] gcov: Runtime configurable destination output

2016-06-04 Thread Aaron Conole
> It breaks profiledbootstrap: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71400 I am including a patch that should fix the issues introduced by my patch. I have confirmed behavior on my system, and built with profiledbootstrap as well as bootstrap. libgcc/ChangeLog: 2016-06-04 Aaron Conol

Re: [PATCH v2] gcc/config/tilegx/tilegx.c (tilegx_function_profiler): Save r10 to stack before call mcount

2016-06-04 Thread Chen Gang
On 6/3/16 09:21, Richard Henderson wrote: > On 06/02/2016 03:23 PM, cheng...@emindsoft.com.cn wrote: >>fprintf (file, >> + "\t{\n" >> + "\taddi\tsp, sp, -8\n" >> + "\tst\tsp, r10\n" >> + "\t}\n" >> "\t{\n" > > You need only do this if cf

[PATCH v3] gcc/config/tilegx/tilegx.c (tilegx_function_profiler): Save r10 to stack before call mcount

2016-06-04 Thread chengang
From: Chen Gang r10 may also be as parameter stack pointer for the nested function, so need save it before call mcount. Also clean up code: use '!' instead of "== 0" for checking static_chain_decl and compute_total_frame_size. 2016-06-04 Chen Gang gcc/ PR target/71331

[PATCH] Fix ICE with gimple clobber (PR tree-optimization/71405)

2016-06-04 Thread Jakub Jelinek
Hi! On this testcase execute_update_addresses_taken creates VIEW_CONVERT_EXPR of a {CLOBBER}, which is of course invalid. Instead, this patch just creates {CLOBBER} of the right type and let's the following ssa update transform that to replacing uses with default def or whatever else is appropriat

Re: [Patch, avr] Fix PR 71151

2016-06-04 Thread Georg-Johann Lay
Senthil Kumar Selvaraj schrieb: Hi, This patch fixes PR 71151 by eliminating the TARGET_ASM_FUNCTION_RODATA_SECTION hook and setting JUMP_TABLES_IN_TEXT_SECTION to 1. As described in the bugzilla entry, this hook assumed it will get called only for jumptable rodata for functions. This

Re: [PATCH] Fix ICE with gimple clobber (PR tree-optimization/71405)

2016-06-04 Thread Richard Biener
On June 4, 2016 3:36:13 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >On this testcase execute_update_addresses_taken creates >VIEW_CONVERT_EXPR of a {CLOBBER}, which is of course invalid. >Instead, this patch just creates {CLOBBER} of the right type and let's >the following ssa update transform that

Dump decisions of ch pass

2016-06-04 Thread Jan Hubicka
Hi, I was working on some issues with CH pass and found it bit hard given that the pass does not dump its decisions at all. This patch adds usual dumping. Bootstrapped/regtested x86_64-linux, comitted. Honza * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Do not check aux;

Re: [PATCH] Warn about return with a void expression with -Wreturn-type.

2016-06-04 Thread Martin Sebor
On 06/03/2016 04:12 AM, Marcin Baczyński wrote: 2016-06-03 11:36 GMT+02:00 Bernd Schmidt : On 06/02/2016 12:03 PM, Marcin Baczyński wrote: 2016-06-02 4:51 GMT+02:00 Martin Sebor : As a disclaimer, someone else endowed with those special powers will need to approve your final patch. If you d

[PING] [PATCH] c/69507 - bogus warning: ISO C does not allow ‘__alignof__ (expression)’

2016-06-04 Thread Martin Sebor
Ping: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg02216.html On 05/27/2016 11:34 AM, Martin Sebor wrote: The patch below adjusts the C alignof pedantic warning to avoid diagnosing the GCC extension (__alignof__) and only diagnose _Alignof in C99 and prior modes. This is consistent with how __