Additionaly. You can find the patch history in http://gcc.gnu.org/ml/gcc-patches/2012-08/msg01590.html. I need this changes for my implementation of vzeroupper placement: for some statements I have no needs doing real insertion. I tested the changes on bootstrap using config ../gcc/configure --prefix=/export/users/vbyakovl/workspaces/vzu/install-middle --enable-languages=c,c++,fortran
2012/9/14 Vladimir Yakovlev <vbyakov...@gmail.com>: > Hello, > > I reproduced the failure and found reason of it. I understood haw it > resolve and now I need small changes only - additional argument of > EMIT_MODE_SET. Is it good fo trunk? > > Thank you, > Vladimir > > 2012-09-14 Vladimir Yakovlev <vladimir.b.yakov...@intel.com> > > * (optimize_mode_switching): Added an argument EMIT_MODE_SET calls. > > * config/epiphany/epiphany.h (EMIT_MODE_SET): Added an argument. > > * config/i386/i386.h (EMIT_MODE_SET): Added an argument. > > * config/sh/sh.h (EMIT_MODE_SET): Added an argument. > > > 2012/8/29 Vladimir Yakovlev <vbyakov...@gmail.com>: >> I built using last configure. >> >> Thank you, >> Vladimir >> >> 2012/8/29 Kaz Kojima <kkoj...@rr.iij4u.or.jp>: >>>> I tryed >>>> >>>> ../gcc/configure --host=i686-pc-linux-gnu >>>> --target=sh4-unknown-linux-gnu --enable-build-with-cxx --enable-lto >>>> --enable-shared --enable-threads=posix --enable-clocale=gnu >>>> --enable-libitm --enable-libgcj >>>> --with-ld=/usr/local/bin/sh4-unknown-linux-gnu-ld >>>> --with-as=/usr/local/bin/sh4-unknown-linux-gnu-as >>>> --with-sysroot=/exp/ldroot --with-mpfr=/opt2/i686-pc-linux-gnu >>>> --with-mpc=/opt2/i686-pc-linux-gnu >>>> --with-libelf=/opt2/i686-pc-linux-gnu --with-ppl=no >>>> --enable-languages=c,c++,fortran,java,lto,objc >>>> --prefix=/export/users/mstester/stability/work/trunk/64/install_sh4 >>>> >>>> and have got build error. make.log attached. Could you take a look? >>> >>> make.log says >>> >>>> make[2]: i686-pc-linux-gnu-ar: Command not found >>> >>> It looks your build system is x86_64-unknown-linux-gnu. >>> Perhaps with specifying --host=x86_64-unknown-linux-gnu instead >>> of --host=i686-pc-linux-gnu in your configuration, that error >>> could be resolved, though >>> >>>> --with-ld=/usr/local/bin/sh4-unknown-linux-gnu-ld >>>> --with-as=/usr/local/bin/sh4-unknown-linux-gnu-as >>>> --with-sysroot=/exp/ldroot --with-mpfr=/opt2/i686-pc-linux-gnu >>>> --with-mpc=/opt2/i686-pc-linux-gnu >>>> --with-libelf=/opt2/i686-pc-linux-gnu >>> >>> are strongly specific to my environment. Maybe >>> >>> ../gcc/configure --host=x86_64-unknown-linux-gnu >>> --target=sh4-unknown-linux-gnu --enable-languages=c >>> >>> and >>> >>> make all-gcc >>> >>> is enough to get cc1 for sh4-unknown-linux-gnu. >>> >>> Best Regards, >>> kaz