[Committed][ARM] Fix ARM bootstrap failure

2017-05-30 Thread Wilco Dijkstra
Fix ARM bootstrap failure due to an odd warning: /src/gcc/gcc/config/arm/arm-builtins.c: In function 'rtx_def* arm_expand_builtin(tree, rtx, rtx, machine_mode, int)': /src/gcc/gcc/config/arm/arm-builtins.c:3056:46: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]  

Re: [PATCH][ARM] Fix arm bootstrap failure due to -Werror=shift-negative-value

2015-09-16 Thread Richard Earnshaw
On 15/09/15 15:59, Kyrill Tkachov wrote: > Hi all, > > After Marek's patch I see the bootstrap failure on arm: > gcc/config/arm/arm.c:4601:46: error: left shift of negative value > [-Werror=shift-negative-value] > && (val & (-1 << (32 - set_sign_bit_copies))) == val) > > I believe this is th

[PATCH][ARM] Fix arm bootstrap failure due to -Werror=shift-negative-value

2015-09-15 Thread Kyrill Tkachov
Hi all, After Marek's patch I see the bootstrap failure on arm: gcc/config/arm/arm.c:4601:46: error: left shift of negative value [-Werror=shift-negative-value] && (val & (-1 << (32 - set_sign_bit_copies))) == val) I believe this is the right fix. Change -1 to HOST_WIDE_INT_M1U and change

Re: [ARM] fix arm bootstrap

2015-05-15 Thread Ramana Radhakrishnan
On 15/05/15 07:41, Kugan wrote: Hi Richard, r223090 seem to miss a parenthesis and seem to be causing: from ../../widen/gcc/fold-const.c:46: ../../widen/gcc/fold-const.c: In function 'tree_node* fold_range_test(location_t, tree_code, tree, tree, tree)': ../../widen/gcc/confi

Re: [ARM] fix arm bootstrap

2015-05-15 Thread Kyrill Tkachov
On 15/05/15 07:46, Kugan wrote: Sorry, this is not the right fix. Looking at it. Hi Kugan, FWIW, I'm seeing this bootstrap failure as well. If you have a patch for this, it would be appreciated. Kyrill Thanks, Kugan On 15/05/15 16:41, Kugan wrote: Hi Richard, r223090 seem to miss a pare

Re: [ARM] fix arm bootstrap

2015-05-14 Thread Kugan
Sorry, this is not the right fix. Looking at it. Thanks, Kugan On 15/05/15 16:41, Kugan wrote: > Hi Richard, > > r223090 seem to miss a parenthesis and seem to be causing: > > from ../../widen/gcc/fold-const.c:46: > ../../widen/gcc/fold-const.c: In function 'tree_node* > fold_r

[ARM] fix arm bootstrap

2015-05-14 Thread Kugan
Hi Richard, r223090 seem to miss a parenthesis and seem to be causing: from ../../widen/gcc/fold-const.c:46: ../../widen/gcc/fold-const.c: In function 'tree_node* fold_range_test(location_t, tree_code, tree, tree, tree)': ../../widen/gcc/config/arm/arm.h:2068:4: error: enumeral a