[Bug c/15517] -O2 and higher removes some static const

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Tue May 18 23:38:00 GMT 2004


------- Additional Comments From falk at debian dot org  2004-05-18 13:56 -------
The compiler is free to remove unused statics. Use __attribute__((used)), as
newer ffmpeg versions already do.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list