--- Comment #4 from rguenth at gcc dot gnu dot org 2009-04-08 10:21 ---
Err, this works. I just messed up my local tree.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
---
--- 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 ;
--- Comment #2 from rguenther at suse dot de 2009-04-07 12:14 ---
Subject: Re: Local statics not promoted to
const
On Tue, 7 Apr 2009, hubicka at ucw dot cz wrote:
> --- Comment #1 from hubicka at ucw dot cz 2009-04-07 11:44 ---
> Subject: Re: New: Local statics not promot
--- Comment #1 from hubicka at ucw dot cz 2009-04-07 11:44 ---
Subject: Re: New: Local statics not promoted to const
ipa-reference definitly is supposed to do this transform. I will debug
why it does not in this testcase.
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=396