Re: [PR 80622] Treat const pools as initialized in SRA

2017-05-04 Thread Richard Biener
On May 4, 2017 5:09:15 PM GMT+02:00, Martin Jambor wrote: >Hi, > >PR 80622 happens because when setting grp_write lazily, the code does >not acknowledge that constant pool bases come initialized and so >contain data even when not written to. The patch below fixes that but >it

[PR 80622] Treat const pools as initialized in SRA

2017-05-04 Thread Martin Jambor
Hi, PR 80622 happens because when setting grp_write lazily, the code does not acknowledge that constant pool bases come initialized and so contain data even when not written to. The patch below fixes that but it also puts a test for pre-initialization into a special function, uses it at all