This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/12814] Missed optimization with non-static but non-changing local arrays


------- Additional Comments From bangerth at dealii dot org  2004-01-28 15:06 -------
Fixed indeed. For the cases I had in mind (and that are in the testcase) the arrays 
were always marked "const" but not "static". This is now handled properly. The fact 
that gcc could mark unchanging variables as if they were "const" is another thing, but 
not subject of this PR. 
 
Thanks 
  W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12814


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]