It also breaks arm backend. ../trunk/configure '--build=x86_64-build_pc-linux-gnu' '--host=x86_64-build_pc-linux-gnu' '--target=arm-unknown-linux-gnueabi' '--with-sysroot=/home/carrot/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root' '--disable-multilib' '--with-float=soft' '--disable-sjlj-exceptions' '--enable-__cxa_atexit' '--disable-nls' '--enable-threads=posix' '--enable-symvers=gnu' '--enable-c99' '--enable-long-long' '--enable-target-optspace' '--disable-bootstrap' 'build_alias=x86_64-build_pc-linux-gnu' 'host_alias=x86_64-build_pc-linux-gnu' 'target_alias=arm-unknown-linux-gnueabi' '--enable-languages=c,c++,lto'
make ... /bin/sh ../libtool --tag CXX --mode=compile /usr/local/google/home/carrot/armobj1/./gcc/xgcc -shared-libgcc -B/usr/local/google/home/carrot/armobj1/./gcc -nostdinc++ -L/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/src -L/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/src/.libs -B/usr/local/arm-unknown-linux-gnueabi/bin/ -B/usr/local/arm-unknown-linux-gnueabi/lib/ -isystem /usr/local/arm-unknown-linux-gnueabi/include -isystem /usr/local/arm-unknown-linux-gnueabi/sys-include -I/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/include/arm-unknown-linux-gnueabi -I/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/include -I/usr/local/google/home/carrot/trunk/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -Os -I/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/include/backward -Wno-deprecated -c ../../../../trunk/libstdc++-v3/src/strstream.cc libtool: compile: /usr/local/google/home/carrot/armobj1/./gcc/xgcc -shared-libgcc -B/usr/local/google/home/carrot/armobj1/./gcc -nostdinc++ -L/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/src -L/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/src/.libs -B/usr/local/arm-unknown-linux-gnueabi/bin/ -B/usr/local/arm-unknown-linux-gnueabi/lib/ -isystem /usr/local/arm-unknown-linux-gnueabi/include -isystem /usr/local/arm-unknown-linux-gnueabi/sys-include -I/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/include/arm-unknown-linux-gnueabi -I/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/include -I/usr/local/google/home/carrot/trunk/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -Os -I/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/include/backward -Wno-deprecated -c ../../../../trunk/libstdc++-v3/src/strstream.cc -fPIC -DPIC -o .libs/strstream.o In file included from ../../../../trunk/libstdc++-v3/src/strstream.cc:45:0: /usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/include/backward/strstream: In member function 'void* std::strstream::_ZTv0_n12_NSt9strstreamD1Ev()': /usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/include/backward/strstream:171:13: internal compiler error: in verify_curr_properties, at passes.c:1660 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[4]: *** [strstream.lo] Error 1 make[4]: Leaving directory `/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/google/home/carrot/armobj1/arm-unknown-linux-gnueabi/libstdc++-v3' make[1]: *** [all-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/usr/local/google/home/carrot/armobj1' make: *** [all] Error 2 On Fri, Jun 10, 2011 at 6:05 AM, H.J. Lu <hjl.to...@gmail.com> wrote: > On Tue, Jun 7, 2011 at 11:54 AM, Xinliang David Li <davi...@google.com> wrote: >> Please review the attached two patches. >> >> In the first patch, gate functions are cleaned up. All the per >> function legality checks are moved into the executor and the >> optimization heuristic checks (optimize for size) remain in the >> gators. These allow the the following overriding order: >> >> common flags (O2, -ftree-vrp, -fgcse etc) <--- compiler >> heuristic (optimize for size/speed) <--- -fdisable/enable forcing pass >> options <--- legality check >> >> Testing under going. Ok for trunk? >> > > This caused: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49350 > > -- > H.J. >