On Tue, 27 Jan 2015, Václav Zeman wrote: > I am wondering, if I should add -fvar-tracking-assignments switch or > not. From the documentation for the two switches, I gather that > -fvar-tracking is enabled on any optimization level. But it is not clear > from -fvar-tracking-assignments documentation whether it is implied by > -fvar-tracking (which is implied by optimization level) or whether I > should add -fvar-tracking-assignments separately to my command line? > > So, does -fvar-tracking imply -fvar-tracking-assignments or not? >From examining the option definition in common.opt, it follows that yes, it is implied. If no preference is given on the command line, var-tracking-assignments flag is set based on var-tracking flag. The documentation could mention that. If nobody beats me to that, I'll try to submit a patch. Alexander