Quote:
Originally Posted by geekmaster
Of course, that was for x86 code, so gcc code generation for other architectures may vary.
|
Under the specific combinations of conditions that apply to the above post -O2 produces the smallest code.
Both -O3 and -Os where larger.
Might have been different if I fiddled with the options, but did not feel the cost/benefit was worth the effort on something a person uses twice a decade.