Liste des Groupes | Revenir à cl c |
Eliminating dead stores is a very basic dataflow-driven optimization.Yes.
Because memset is part of the C language, the compiler knows
exactly what effect it has (that it's equivalent to setting
all the bytes to zero, like a sequence of assignments).
If you don't want a call to be optimized away, call yourNo.
own function in another translation unit.
(And don't turnIf I knew of any non-conforming cross-translation-unit optimisations in a compiler, I would avoid using them until the compiler vendor had fixed the bug in question.
on nonconforming cross-translation-unit optimizations.)
Les messages affichés proviennent d'usenet.