"pragma GCC optimize" or function __attribute__'s can be used
to request specific optimization levels or "-f" type command
I would like to be able to turn off debugging symbols
as well. The equivalent of the "-g0" command line option.
It might be useful to be able to selectively turn them on as well?
BTW, I am using boost's spirit parsing library. Debugging
symbols are not really helpful and can horribly bloat the
object file and executable size (up to 100 times larger),
and of course slow down compile and link times.
Summary: Enhancement to disable debugging symbols with
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: steven at ngls dot net