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

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 28 15:06:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list