Dear GCC developer: I met an internal compiler error when in building GCC revision 165215 which I checked out just on October 9. The error information is as following: /home/ykq/gnu-prj/gcc/build/./gcc/xgcc -B/home/ykq/gnu-prj/gcc/build/./gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc -I../../../libgcc/../include -I../../../libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o bid_binarydecimal.o -MT bid_binarydecimal.o -MD -MP -MF bid_binarydecimal.dep -c ../../../libgcc/config/libbid/bid_binarydecimal.c ../../../libgcc/config/libbid/bid_binarydecimal.c: In function '__bid32_to_binary80': *** glibc detected *** /home/ykq/gnu-prj/gcc/build/./gcc/cc1: free(): invalid next size (normal): 0x09d95e40 *** ======= Backtrace: ========= /lib/libc.so.6[0x401258b6] /lib/libc.so.6(cfree+0x90)[0x40128e00] /lib/libc.so.6(obstack_free+0x46)[0x4012b546] /home/ykq/gnu-prj/gcc/build/./gcc/cc1[0x8771690] /home/ykq/gnu-prj/gcc/build/./gcc/cc1(free_scc_vn+0x182)[0x8771c4b] /home/ykq/gnu-prj/gcc/build/./gcc/cc1[0x8753f59] /home/ykq/gnu-prj/gcc/build/./gcc/cc1[0x8753f92] /home/ykq/gnu-prj/gcc/build/./gcc/cc1(execute_one_pass+0x1c7)[0x84effb1] /home/ykq/gnu-prj/gcc/build/./gcc/cc1(execute_pass_list+0x40)[0x84f034a] /home/ykq/gnu-prj/gcc/build/./gcc/cc1(execute_pass_list+0x5c)[0x84f0366] /home/ykq/gnu-prj/gcc/build/./gcc/cc1(tree_rest_of_compilation+0xfa)[0x8663170] /home/ykq/gnu-prj/gcc/build/./gcc/cc1[0x88cc4e8] /home/ykq/gnu-prj/gcc/build/./gcc/cc1[0x88cc69c] /home/ykq/gnu-prj/gcc/build/./gcc/cc1(cgraph_optimize+0x1d8)[0x88cccd5] /home/ykq/gnu-prj/gcc/build/./gcc/cc1(cgraph_finalize_compilation_unit+0x6b)[0x88ca1c7] /home/ykq/gnu-prj/gcc/build/./gcc/cc1(c_write_global_declarations+0x294)[0x80db83d] /home/ykq/gnu-prj/gcc/build/./gcc/cc1[0x85d6290] /home/ykq/gnu-prj/gcc/build/./gcc/cc1[0x85d870a] /home/ykq/gnu-prj/gcc/build/./gcc/cc1(toplev_main+0x107)[0x85d8831] /home/ykq/gnu-prj/gcc/build/./gcc/cc1(main+0x22)[0x81ae006] /lib/libc.so.6(__libc_start_main+0xdc)[0x400d4dec] /home/ykq/gnu-prj/gcc/build/./gcc/cc1(mpc_sin+0x7d)[0x80b0461] ../../../libgcc/config/libbid/bid_binarydecimal.c:144706:1: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [bid_binarydecimal.o] Error 1 make[3]: Leaving directory `/home/ykq/gnu-prj/gcc/build/i686-pc-linux-gnu/libgcc' make[2]: *** [all-stage1-target-libgcc] Error 2 make[2]: Leaving directory `/home/ykq/gnu-prj/gcc/build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/ykq/gnu-prj/gcc/build' make: *** [all] Error 2 My building machine is RHEL5 with a Linux 2.6.18-53 kernel. The configure string of GCC is "configure --enable-language=c,c++ --disable-lto --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpfr=/usr/local". And I'm experimenting to add some new feature to the C++ language. Can you help me to find the error reason? Thanks in forward. Kangqian Yin, Shanghai, China, 2010.10.12