Regimplification enhancements 1/3
Bernd Schmidt
bernds@codesourcery.com
Mon Jun 16 10:56:00 GMT 2014
For the ptx port, I've needed to write a new pass which ensures all
objects go into address spaces as required by the machine. This uses the
regimplification code in gimplify-me.c, and that requires some fixes and
upgrades.
Here's the first. When address spaces change, an ADDR_EXPR may have to
be changed to ADDR_SPACE_CONVERT_EXPR, and these two have different
representations in gimple. This patch stops the regimplification code
from creating invalid gimple in such a case.
Bootstrapped and tested on x86_64-linux, ok?
Bernd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regpl1.diff
Type: text/x-patch
Size: 1600 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140616/1f008075/attachment.bin>
More information about the Gcc-patches
mailing list