On Wed, Feb 20, 2013 at 10:52:52AM +0100, Richard Biener wrote:
> *** get_value (tree var)
> *** 295,301
> {
> prop_value_t *val;
>
> ! if (const_val == NULL)
> return NULL;
>
> val = &const_val[SSA_NAME_VERSION (var)];
> --- 296,303
> {
> prop_va
On Tue, 19 Feb 2013, Jakub Jelinek wrote:
> Hi!
>
> On the following patch gcc ICEs because malloc memory is corrupted.
> The problem is that const_val array is allocated at the start of the pass,
> but during the execution of ccp some new SSA_NAMEs are created
> (update_call_from_tree if I remem
Hi!
On the following patch gcc ICEs because malloc memory is corrupted.
The problem is that const_val array is allocated at the start of the pass,
but during the execution of ccp some new SSA_NAMEs are created
(update_call_from_tree if I remember well).
The following patch fixes that by making co