Re: Don't copy constants in build_constant_desc

2014-05-27 Thread Richard Biener
On Tue, May 27, 2014 at 3:26 PM, Bernd Schmidt wrote: > When putting a constant into the constant pool, we make a copy of the tree > in build_constant_desc. This caused me some problems with the ptx backend, > which has a pass to modify the address spaces of all variables and constants > to match

Don't copy constants in build_constant_desc

2014-05-27 Thread Bernd Schmidt
When putting a constant into the constant pool, we make a copy of the tree in build_constant_desc. This caused me some problems with the ptx backend, which has a pass to modify the address spaces of all variables and constants to match the requirements of the backend. It would be nice for it to