Hi:

I built two versions -- linux/mingw -- of a 32-bit gcc cross compiler
of codebase 7.3.0 on fedora 20 (gcc 4.8). Then I compiled an embedded
project using the both cross compilers in the same build
environment. An assemble code inspection showed that one function out
of about thousand project functions differs in the two builds. Both
run-time tests and visual inspection suggest that both variants of the
compiled function are correct. I looked at the output of the switch
`-fdump-tree-all' and realized that the path `ivopts' makes this difference.
Once `-fno-ivopts' applied, the two compilations are binary equivalent.

Shouldn't I expect in general same output of such cross compilers ?
What could be reasons of such differences ? and options to fix it ?

Milan

Reply via email to