GCC 4.5.0 20091119 (r154346) ../../gcc-4.5/gcc/gengtype-parse.c: In function ‘array_and_function_declarators_opt’: ../../gcc-4.5/gcc/gengtype-parse.c:508:1: error: verify_flow_info: Wrong frequency of block 13 -184951 ../../gcc-4.5/gcc/gengtype-parse.c:508:1: internal compiler error: verify_flow_info failed
This maybe related to r154291 (tree-optimize.c (execute_fixup_cfg): Rescale frequencies.) Counts are not rescaled for entry block and exit block. Then in counts_to_freqs(), their frequencies become very large. Then overflow into a negative number in EDGE_FREQUENCY() in find_many_sub_basic_blocks().
(In reply to comment #0) > GCC 4.5.0 20091119 (r154346) > > ../../gcc-4.5/gcc/gengtype-parse.c: In function > ‘array_and_function_declarators_opt’: > ../../gcc-4.5/gcc/gengtype-parse.c:508:1: error: verify_flow_info: Wrong > frequency of block 13 -184951 > ../../gcc-4.5/gcc/gengtype-parse.c:508:1: internal compiler error: > verify_flow_info failed > Also happens on x86_64-unknown-linux-gnu under r154408: ../../gcc/gcc/c-parser.c: In function ‘c_parser_next_token_is’: ../../gcc/gcc/c-parser.c:336:1: error: verify_flow_info: Wrong frequency of block 7 -199641
Subject: Re: Verify_flow_info: Wrong frequency of block. Profiled bootstrap failed. > > > ------- Comment #2 from b3timmons at speedymail dot org 2009-11-21 17:37 ------- > (In reply to comment #0) > > GCC 4.5.0 20091119 (r154346) > > > > ../../gcc-4.5/gcc/gengtype-parse.c: In function > > ‘array_and_function_declarators_opt’: > > ../../gcc-4.5/gcc/gengtype-parse.c:508:1: error: verify_flow_info: Wrong > > frequency of block 13 -184951 > > ../../gcc-4.5/gcc/gengtype-parse.c:508:1: internal compiler error: > > verify_flow_info failed > > > > Also happens on x86_64-unknown-linux-gnu under r154408: > > ../../gcc/gcc/c-parser.c: In function ‘c_parser_next_token_is’: > ../../gcc/gcc/c-parser.c:336:1: error: verify_flow_info: Wrong frequency of > block 7 -199641 Looks like overflow in frequency scaling. I will look into this. Honza
Fixed.