Re: [PATCH] Fix host_size_t_cst_p predicate

2016-11-02 Thread Richard Biener
On Mon, Oct 31, 2016 at 3:56 PM, Martin Liška wrote: > On 10/31/2016 12:11 PM, Richard Biener wrote: >> On Mon, Oct 31, 2016 at 11:18 AM, Richard Sandiford >> wrote: >>> Richard Biener writes: On Mon, Oct 31, 2016 at

Re: [PATCH] Fix host_size_t_cst_p predicate

2016-10-31 Thread Martin Liška
; ... >>>>>>>>> >>>>>>>>> to current version: >>>>>>>>> >>>>>>>>> case CFN_BUILT_IN_STRNCMP: >>>>>>>>> { >>>>>>>>> bool const_size_p = ho

Re: [PATCH] Fix host_size_t_cst_p predicate

2016-10-31 Thread Richard Biener
On Mon, Oct 31, 2016 at 11:18 AM, Richard Sandiford wrote: > Richard Biener writes: >> On Mon, Oct 31, 2016 at 10:58 AM, Richard Sandiford >> wrote: >>> Richard Biener writes: On

Re: [PATCH] Fix host_size_t_cst_p predicate

2016-10-31 Thread Richard Sandiford
Richard Biener writes: > On Mon, Oct 31, 2016 at 10:58 AM, Richard Sandiford > wrote: >> Richard Biener writes: >>> On Mon, Oct 31, 2016 at 10:10 AM, Martin Liška wrote: On 10/31/2016 01:12

Re: [PATCH] Fix host_size_t_cst_p predicate

2016-10-31 Thread Richard Biener
On Mon, Oct 31, 2016 at 10:58 AM, Richard Sandiford wrote: > Richard Biener writes: >> On Mon, Oct 31, 2016 at 10:10 AM, Martin Liška wrote: >>> On 10/31/2016 01:12 AM, Richard Sandiford wrote: Richard Biener

Re: [PATCH] Fix host_size_t_cst_p predicate

2016-10-31 Thread Richard Sandiford
Richard Biener writes: > On Mon, Oct 31, 2016 at 10:10 AM, Martin Liška wrote: >> On 10/31/2016 01:12 AM, Richard Sandiford wrote: >>> Richard Biener writes: On Thu, Oct 27, 2016 at 5:06 PM, Martin Liška

Re: [PATCH] Fix host_size_t_cst_p predicate

2016-10-31 Thread Richard Biener
On Mon, Oct 31, 2016 at 10:10 AM, Martin Liška wrote: > On 10/31/2016 01:12 AM, Richard Sandiford wrote: >> Richard Biener writes: >>> On Thu, Oct 27, 2016 at 5:06 PM, Martin Liška wrote: On 10/27/2016 03:35 PM, Richard Biener

Re: [PATCH] Fix host_size_t_cst_p predicate

2016-10-31 Thread Martin Liška
On 10/31/2016 01:12 AM, Richard Sandiford wrote: > Richard Biener writes: >> On Thu, Oct 27, 2016 at 5:06 PM, Martin Liška wrote: >>> On 10/27/2016 03:35 PM, Richard Biener wrote: On Thu, Oct 27, 2016 at 9:41 AM, Martin Liška

Re: [PATCH] Fix host_size_t_cst_p predicate

2016-10-30 Thread Richard Sandiford
Richard Biener writes: > On Thu, Oct 27, 2016 at 5:06 PM, Martin Liška wrote: >> On 10/27/2016 03:35 PM, Richard Biener wrote: >>> On Thu, Oct 27, 2016 at 9:41 AM, Martin Liška wrote: Running simple test-case w/o the proper header

Re: [PATCH] Fix host_size_t_cst_p predicate

2016-10-28 Thread Richard Biener
On Thu, Oct 27, 2016 at 5:06 PM, Martin Liška wrote: > On 10/27/2016 03:35 PM, Richard Biener wrote: >> On Thu, Oct 27, 2016 at 9:41 AM, Martin Liška wrote: >>> Running simple test-case w/o the proper header file causes ICE: >>> strncmp ("a", "b", -1); >>> >>>

Re: [PATCH] Fix host_size_t_cst_p predicate

2016-10-27 Thread Martin Liška
On 10/27/2016 03:35 PM, Richard Biener wrote: > On Thu, Oct 27, 2016 at 9:41 AM, Martin Liška wrote: >> Running simple test-case w/o the proper header file causes ICE: >> strncmp ("a", "b", -1); >> >> 0xe74462 tree_to_uhwi(tree_node const*) >> ../../gcc/tree.c:7324 >>

Re: [PATCH] Fix host_size_t_cst_p predicate

2016-10-27 Thread Richard Biener
On Thu, Oct 27, 2016 at 9:41 AM, Martin Liška wrote: > Running simple test-case w/o the proper header file causes ICE: > strncmp ("a", "b", -1); > > 0xe74462 tree_to_uhwi(tree_node const*) > ../../gcc/tree.c:7324 > 0x90a23f host_size_t_cst_p >

[PATCH] Fix host_size_t_cst_p predicate

2016-10-27 Thread Martin Liška
Running simple test-case w/o the proper header file causes ICE: strncmp ("a", "b", -1); 0xe74462 tree_to_uhwi(tree_node const*) ../../gcc/tree.c:7324 0x90a23f host_size_t_cst_p ../../gcc/fold-const-call.c:63 0x90a23f fold_const_call(combined_fn, tree_node*, tree_node*, tree_node*,