While building the Loki C++ library (http://loki-lib.sourceforge.net/), an internal error is generated: -- quote start -- gmake[2]: Entering directory `/home/duplaina/src/loki-0.1.6/test/ScopeGuard' g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -ffriend-injection -I../../include -DNDEBUG -c -o main.o main.cpp main.cpp: In member function 'void User::AddFriendGuardedMacros(User&)': main.cpp:197: internal compiler error: in calc_dfs_tree, at dominance.c:373 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. gmake[2]: *** [main.o] Error 1 gmake[2]: Leaving directory `/home/duplaina/src/loki-0.1.6/test/ScopeGuard' gmake[1]: *** [ScopeGuard] Error 2 gmake[1]: Leaving directory `/home/duplaina/src/loki-0.1.6/test' gmake: *** [check] Error 2 -- quote end -- Note: in order to get it to build this far, it's necessary to change include/loki/SmartPtr.h so the reference from #include <stdint.h> is <tr1/stdint.h>.
Probably a dup of PR31947. Hard to say without preprocessed source.
Created attachment 14956 [details] Preprocessed source file test/ScopeGuard/main.cpp
#1 0x0000000000847f16 in calc_dfs_tree (di=0x7fff65e5f420, reverse=CDI_DOMINATORS) at /space/rguenther/src/svn/gcc-4_2-branch/gcc/dominance.c:373 #2 0x0000000000848a60 in calculate_dominance_info (dir=CDI_DOMINATORS) at /space/rguenther/src/svn/gcc-4_2-branch/gcc/dominance.c:631 #3 0x0000000000c0a418 in identify_jump_threads () at /space/rguenther/src/svn/gcc-4_2-branch/gcc/tree-vrp.c:5261 #4 0x0000000000c0b1fb in vrp_finalize () at /space/rguenther/src/svn/gcc-4_2-branch/gcc/tree-vrp.c:5408 #5 0x0000000000c0b32f in execute_vrp () at /space/rguenther/src/svn/gcc-4_2-branch/gcc/tree-vrp.c:5482 which makes it a duplicate. *** This bug has been marked as a duplicate of 31947 ***