Follow-up Comment #5, bug #20413 (project freeciv): > At this point I wouldn't rule compiler bug out. It gives the > warnings only when it has refactored code heavily (optimization > level 3) itself first.
But this is not proof of compiler bug either. It can be simply that code rearrangement makes it easier for warning heuristics to spot the problem. I just figured out one such a valid warning that appeared only with -O3 (probably related to more aggressive inlining - called function did not always set what caller depended on) _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?20413> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev