This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/39672] Local statics not promoted to const
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Apr 2009 15:14:13 -0000
- Subject: [Bug tree-optimization/39672] Local statics not promoted to const
- References: <bug-39672-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from hubicka at ucw dot cz 2009-04-07 15:14 -------
Subject: Re: Local statics not promoted to const
> I think it only adjusts global statics.
This is why I originally implemented varpool to have both local and
global static alike, so it should not.
Well, time to debug it ;)
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39672