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:
Message sent via/by Gna!
Freeciv-dev mailing list