Re: [PATCH] Fix native_encode_expr and sccvn caller (PR tree-optimization/85257)

2018-04-06 Thread Richard Biener
On April 6, 2018 10:14:37 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >On the following testcase, we try to read from a huge VECTOR_CST that >doesn't fit into 64 bytes and read completely random number out of it. > >The issue is that native_encode_expr has 2 modes of operation, when >called with 3 a

[PATCH] Fix native_encode_expr and sccvn caller (PR tree-optimization/85257)

2018-04-06 Thread Jakub Jelinek
Hi! On the following testcase, we try to read from a huge VECTOR_CST that doesn't fit into 64 bytes and read completely random number out of it. The issue is that native_encode_expr has 2 modes of operation, when called with 3 arguments, it is supposed to encode the whole object or nothing (i.e.