https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89490

--- Comment #22 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to Jakub Jelinek from comment #20)
> I don't think users would appreciate the change in behavior where constant
> and string merging would stop to work completely.
> 
> I've successfully bootstrapped/regtested the #c15 patch on
> powerpc64{,le}-linux and it looks good to me.

Thanks Jakub,

It is not surprising that Alan hit the assert because when he modified the
patch and moved it the get_block_for_decl, that enabled mergable constants
to be inside a block, there are not DECLs for.

But I would like to pick up his idea to add an assertion as attachment #45830

I have bootstrapped that successfully, and built
and arm-linux-gnueabihf cross compiler (arm has section anchors IIRC).

I would be grateful if you could give it a try on you powerpc machine.


Bernd.

Reply via email to