http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46528
--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-24 21:18:43 UTC --- I can't reproduce it on x86_64-unknown-linux-gnu with ./configure --disable-checking --enable-languages=c or with ./configure --enable-languages=c,c++,fortran I can reproduce it with the attached testcase and stage1 xgcc though: > ./xgcc -B. -O2 -g -fprofile-use -c macro.i ../../gcc-svn/trunk/libcpp/macro.c: In function 'cpp_macro_definition': ../../gcc-svn/trunk/libcpp/macro.c:2123:1: error: corrupted profile info: profile data is not flow-consistent ../../gcc-svn/trunk/libcpp/macro.c:2123:1: error: corrupted profile info: number of executions for edge 45-59 thought to be -104 ../../gcc-svn/trunk/libcpp/macro.c:2123:1: error: corrupted profile info: number of executions for edge 45-1 thought to be 104 ../../gcc-svn/trunk/libcpp/macro.c:2123:1: error: corrupted profile info: number of executions for edge 55-56 thought to be 10 ../../gcc-svn/trunk/libcpp/macro.c:2123:1: error: corrupted profile info: number of executions for edge 55-57 thought to be -5 would be nice to know if BOOT_CFLAGS="-O2 -g -fno-inline" ./configure --enable-languages=c make profiledbootstrap BOOT_CFLAGS="-O2 -g -fno-inline" also fails, alternatively s/-g -fno-inline/-g0/ or s/-fno-inline/-fno-partial-inlining.