On Wed, Feb 27, 2019 at 07:44:40PM +0000, 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 avoiding creation of block objects for objects located > in mergeable sections. > > > Bootstrapped and reg-tested on x86_64-pc-linux-gnu, > powerpc64le-linux, and powerpc64-linux (-m32/-m64) > with help from Jakub. > > Is it OK for trunk? > > > Thanks > Bernd.
> 2019-02-27 Bernd Edlinger <bernd.edlin...@hotmail.de> > > PR rtl-optimization/89490 > * varasm.c (get_block_for_section): Bail out for mergeable sections. > (default_use_anchors_for_symbol_p, output_object_block): Assert the > block section is not mergeable. Ok, thanks. Jakub