This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp] Fix sharing-1.c and sharing-1.C
On Tue, Oct 18, 2005 at 04:48:13PM -0400, Diego Novillo wrote:
> That's what I'm playing with now, yes. The obvious change will prevent us
> from doing constant propagation inside the children, though.
The other thing we could do at the gimple level is if we see an
addressable read-only variable with an appropriate decl_initial
is promote them to static variables. That would get you exactly
what you want.
r~