On 12/07/2016 12:56 PM, Segher Boessenkool wrote:
On Wed, Dec 07, 2016 at 10:31:14AM +0000, James Greenhalgh wrote:
We always keep the entries in the constant pool after we first see them, and
we figure out what gets used in the constant pool by sweeping through
looking for referenced entries. That means we can always answer the
question "has the constant pool ever had entries?" by checking if there
is anything at all in there.

So that's what this patch does.

Bootstrapped on gcc110 (powerpc64-none-linux-gnu) configured with
--enable-languages=all,ada,go,obj-c++ with no issues, Segher has also
tested it with no issues, and I've tested an aarch64-none-elf cross
compiler to ensure that the original fix still works on AArch64.

OK?

The rs6000 changes are okay for trunk.  The rest I cannot approve (but
it does look fine).  Thanks,

Ok for the rest.


Bernd

Reply via email to