[Bug ipa/58367] New: [4.9 Regression] lto/pgo bootstrap failure

markus at trippelsdorf dot de gcc-bugzilla@gcc.gnu.org
Mon Sep 9 07:37:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58367

            Bug ID: 58367
           Summary: [4.9 Regression] lto/pgo bootstrap failure
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: markus at trippelsdorf dot de

On current trunk (rev202381) I get:
...
/var/tmp/gcc_build_dir/./prev-gcc/xg++ -B/var/tmp/gcc_build_dir/./prev-gcc/
-B/usr/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
-I/var/tmp/gcc/libstdc++-v3/libsupc++
-L/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-c   -march=native -O2 -pipe -fuse-linker-plugin -flto=jobserver
-fno-fat-lto-objects -frandom-seed=1 -fprofile-use -DIN_GCC   -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
-I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include  -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/gcc/../libbacktrace    ../../gcc/gcc/expr.c -o expr.o
In file included from ../../gcc/gcc/expr.c:11183:0:
./gt-expr.h: In function ‘store_expr(tree_node*, rtx_def*, int, bool)’:
./gt-expr.h:33:2: error: the control flow of function
‘_Z10store_exprP9tree_nodeP7rtx_defib’ does not match its profile data (counter
‘arcs’) [-Werror=coverage-mismatch]
 };
  ^
./gt-expr.h:33:2: error: the control flow of function
‘_Z10store_exprP9tree_nodeP7rtx_defib’ does not match its profile data (counter
‘indirect_call’) [-Werror=coverage-mismatch]
./gt-expr.h: In function ‘clear_storage_hints(rtx_def*, rtx_def*,
block_op_methods, unsigned int, long)’:
./gt-expr.h:33:2: error: the control flow of function
‘_Z19clear_storage_hintsP7rtx_defS0_16block_op_methodsjl’ does not match its
profile data (counter ‘arcs’) [-Werror=coverage-mismatch]
./gt-expr.h: In function ‘store_by_pieces_1(store_by_pieces_d*, unsigned int)’:
./gt-expr.h:33:2: error: the control flow of function
‘_ZL17store_by_pieces_1P17store_by_pieces_dj’ does not match its profile data
(counter ‘arcs’) [-Werror=coverage-mismatch]
./gt-expr.h: In function ‘store_by_pieces(rtx_def*, unsigned long, rtx_def*
(*)(void*, long, machine_mode), void*, unsigned int, bool, int)’:
./gt-expr.h:33:2: error: the control flow of function
‘_Z15store_by_piecesP7rtx_defmPFS0_Pvl12machine_modeES1_jbi’ does not match its
profile data (counter ‘arcs’) [-Werror=coverage-mismatch]
./gt-expr.h: In function ‘can_store_by_pieces(unsigned long, rtx_def*
(*)(void*, long, machine_mode), void*, unsigned int, bool)’:
./gt-expr.h:33:2: error: the control flow of function
‘_Z19can_store_by_piecesmPFP7rtx_defPvl12machine_modeES1_jb’ does not match its
profile data (counter ‘arcs’) [-Werror=coverage-mismatch]
./gt-expr.h:33:2: error: the control flow of function
‘_Z19can_store_by_piecesmPFP7rtx_defPvl12machine_modeES1_jb’ does not match its
profile data (counter ‘indirect_call’) [-Werror=coverage-mismatch]

with »make -j4 BOOT_CFLAGS="-march=native -O2 -pipe"
STAGE1_CFLAGS="-march=native -O2 -pipe" CFLAGS_FOR_TARGET="-march=native -O2
-pipe" CXXFLAGS_FOR_TARGET="-march=native -O2 -pipe" profiledbootstrap«


More information about the Gcc-bugs mailing list