[patch committed SH] Fix build failure

2016-09-06 Thread Kaz Kojima
I've committed the attached patch to fix build failure on SH during compiling tree-profile.c: ../trunk/gcc/tree-profile.c: In function 'unsigned int tree_profiling()': ../trunk/gcc/tree-profile.c:560:12: error: 'TARGET_ATOMIC_ANY' was not declared in this scope The target sets HAVE_atomic_compar

[patch committed SH] Fix build failure

2015-12-06 Thread Kaz Kojima
I've committed the patch below to fix a build failure after rsqrt_optab changes applied. Now rsqrtsf2 is expected to have just 2 operands and HAVE_rsqrtsf2 should be simple enough. Tested with build for sh4-unknown-linux-gnu and running gcc.target/sh/sh4a-fsrra.c. Regards, kaz -- 2015-12-

[patch committed SH] Fix build failure

2015-09-17 Thread Kaz Kojima
I've committed the attached obvious fix for build failure for SH. object_allocator is changed so to remove the 2nd argument of its constructor. Regards, kaz -- 2015-09-17 Kaz Kojima * config/sh/sh.c (label_ref_list_d_pool): Adjust to object_allocator change. diff --git

[patch committed] [SH] Fix build failure in libgomp

2014-06-18 Thread Kaz Kojima
Hi, Trunk fails to build on sh4-unknown-linux-gnu with an ICE during compiling libgomp. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61550 for detail. sh.c:prepare_move_operands has the code for TLS addresses which shouldn't be run if reload in progress or done. The attached patch is to fix

[patch committed] [SH] Fix build failure on sh

2013-03-31 Thread Kaz Kojima
Hi, I've committed the attached patch as a followup for the recent JUMP_TABLE_DATA change. Without this, SH fails to build during compiling libgcc. Regards, kaz -- 2013-03-31 Kaz Kojima * config/sh/sh.md (casesi_worker_1): Use next_active_insn instead of next_real_ins

[patch committed] [SH] Fix build failure on sh-linux

2013-03-13 Thread Kaz Kojima
Hi, The attached patch is to fix build failure on sh-linux caused with the recent Oleg's changes. Committed on trunk. Regards, kaz -- 2013-03-14 Kaz Kojima * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. (SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as