Re: [PATCH] Fix PR rtl-optimization/89490

2019-02-27 Thread Jakub Jelinek
On Wed, Feb 27, 2019 at 07:44:40PM +, Bernd Edlinger wrote: > This patch fixes a P1 regression due to the recently introduced > more aggressive constant string merging, which does not work > correctly in object blocks consisting of STRING_CST w/o proper > zero-termination. > > Fixed by avoidin

[PATCH] Fix PR rtl-optimization/89490

2019-02-27 Thread Bernd Edlinger
Hi! This patch fixes a P1 regression due to the recently introduced more aggressive constant string merging, which does not work correctly in object blocks consisting of STRING_CST w/o proper zero-termination. Fixed by avoiding creation of block objects for objects located in mergeable sections.