This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: New optimization: Convert local statics into non-statics
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Nick Clifton" <nickc at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 14 Jul 2008 12:41:26 -0700
- Subject: Re: RFA: New optimization: Convert local statics into non-statics
- References: <m363r8mrkf.fsf@redhat.com>
The one question I have, is why isn't load PRE doing the same work?
With GCC 4.4.0 able to do load PRE for "global" variables, I think the
only thing needed is not really a demotion of local statics but
instead a DSE of local static stores.
Thanks,
Andrew Pinski