https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88668

--- Comment #1 from Umesh Kalappa <umesh.kalappa0 at gmail dot com> ---
after our investigation we found that the  below change ,makes code to be 
generated  like identical to linux host .

--- a/gcc/configure
+++ b/gcc/configure
@@ -11795,15 +11795,16 @@ else
        CXX="${CXX_FOR_BUILD}" CXXFLAGS="${CXXFLAGS_FOR_BUILD}" \
        LD="${LD_FOR_BUILD}" LDFLAGS="${LDFLAGS_FOR_BUILD}" \
        GMPINC="" CPPFLAGS="${CPPFLAGS} -DGENERATOR_FILE" \
+       gcc_cv_as=../as gcc_cv_ld=../collect-ld enable_targets=$enable_targets\
        ${realsrcdir}/configure \
                --enable-languages=${enable_languages-all} \
                --target=$target_alias --host=$build_alias --build=$build_alias

This change would affect the value of macros defined in auto-build.h which is
used when building the toolchain for Windows, the different value of macros
result the different code in generated file insn-conditions.md, insn-recog.c
etc which eventually makes a different compiler is built for Windows.

Before we conclude with our changes ,we would like to hear from the experts
here on the difference behaviour(b/w hosts)  and the fix .

Reply via email to