------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-04 
18:29 -------
Nope, -fkeep-static-consts only control when optimization is not on:
>From the docs:
Emit variables declared @code{static const} when optimization ____isn't____ 
turned
on, even if the variables aren't referenced.

Enphise mine.

Use the "used" attribute if you want to keep unused constants.

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


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

Reply via email to