This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15517] -O2 and higher removes some static const
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 May 2004 13:56:19 -0000
- Subject: [Bug c/15517] -O2 and higher removes some static const
- References: <20040518135051.15517.td@pre-secure.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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