Re: [PATCH] Fix up SRA (PR tree-optimization/70602)

2016-04-12 Thread Richard Biener
On Tue, 12 Apr 2016, Jakub Jelinek wrote: > Hi! > > As mentioned in the PR, the recent change to handle constant_decl_p > stuff sometimes results in attempts to store the scalarized pieces again > into constant_decl_p fields, which of course can't work, those usually live > in read-only memory.

[PATCH] Fix up SRA (PR tree-optimization/70602)

2016-04-12 Thread Jakub Jelinek
Hi! As mentioned in the PR, the recent change to handle constant_decl_p stuff sometimes results in attempts to store the scalarized pieces again into constant_decl_p fields, which of course can't work, those usually live in read-only memory. This happens usually when the aggregate has some paddin