[Bug tree-optimization/39672] Local statics not promoted to const

2009-04-08 Thread rguenth at gcc dot gnu dot org
--- 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

[Bug tree-optimization/39672] Local statics not promoted to const

2009-04-07 Thread rguenther at suse dot de
--- 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

[Bug tree-optimization/39672] Local statics not promoted to const

2009-04-07 Thread hubicka at ucw dot cz
--- 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 --

[Bug tree-optimization/39672] Local statics not promoted to const

2009-04-07 Thread hubicka at ucw dot cz
--- 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