GCC 4.6

Iain Buclaw ibuclaw at ubuntu.com
Sun Mar 27 06:38:17 PDT 2011


== Quote from bearophile (bearophileHUGS at lycos.com)'s article
> Walter:
> > You quoted a claim saying it was also an optimization.
> If GCC devs say so, then I presume they are right. But the main purpose of a
warning is to warn the programmer, in this case to avoid some bugs.

Warnings have no effect on optimisations. And unused code are later removed via
general dead code elimination anyway (how aggressive this is depends on the
optimisation level).


More information about the Digitalmars-d mailing list