lundi 30 janvier 2017

gcc C if statement optimization

Does gcc optimize code such as:

if(cond)
    func1()
func2()
if(cond)
    func3()

If cond is constant? Also, what are good resources for learning more about C optimizations? (So I don't have to ask more stupid questions like this)

Aucun commentaire:

Enregistrer un commentaire