public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/42127]  New: Verify_flow_info: Wrong frequency of block. Profiled bootstrap failed.
@ 2009-11-21  2:32 d dot g dot gorbachev at gmail dot com
  2009-11-21 13:40 ` [Bug middle-end/42127] " d dot g dot gorbachev at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2009-11-21  2:32 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

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


-- 
           Summary: Verify_flow_info: Wrong frequency of block. Profiled
                    bootstrap failed.
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: d dot g dot gorbachev at gmail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/42127] Verify_flow_info: Wrong frequency of block. Profiled bootstrap failed.
  2009-11-21  2:32 [Bug middle-end/42127] New: Verify_flow_info: Wrong frequency of block. Profiled bootstrap failed d dot g dot gorbachev at gmail dot com
@ 2009-11-21 13:40 ` d dot g dot gorbachev at gmail dot com
  2009-11-21 17:37 ` b3timmons at speedymail dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2009-11-21 13:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from d dot g dot gorbachev at gmail dot com  2009-11-21 13:40 -------
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().


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/42127] Verify_flow_info: Wrong frequency of block. Profiled bootstrap failed.
  2009-11-21  2:32 [Bug middle-end/42127] New: Verify_flow_info: Wrong frequency of block. Profiled bootstrap failed d dot g dot gorbachev at gmail dot com
  2009-11-21 13:40 ` [Bug middle-end/42127] " d dot g dot gorbachev at gmail dot com
@ 2009-11-21 17:37 ` b3timmons at speedymail dot org
  2009-11-21 18:54 ` hubicka at ucw dot cz
  2009-11-23 22:04 ` hubicka at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: b3timmons at speedymail dot org @ 2009-11-21 17:37 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1028 bytes --]



------- 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


-- 

b3timmons at speedymail dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b3timmons at speedymail dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/42127] Verify_flow_info: Wrong frequency of block. Profiled bootstrap failed.
  2009-11-21  2:32 [Bug middle-end/42127] New: Verify_flow_info: Wrong frequency of block. Profiled bootstrap failed d dot g dot gorbachev at gmail dot com
  2009-11-21 13:40 ` [Bug middle-end/42127] " d dot g dot gorbachev at gmail dot com
  2009-11-21 17:37 ` b3timmons at speedymail dot org
@ 2009-11-21 18:54 ` hubicka at ucw dot cz
  2009-11-23 22:04 ` hubicka at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: hubicka at ucw dot cz @ 2009-11-21 18:54 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 995 bytes --]



------- Comment #3 from hubicka at ucw dot cz  2009-11-21 18:54 -------
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


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/42127] Verify_flow_info: Wrong frequency of block. Profiled bootstrap failed.
  2009-11-21  2:32 [Bug middle-end/42127] New: Verify_flow_info: Wrong frequency of block. Profiled bootstrap failed d dot g dot gorbachev at gmail dot com
                   ` (2 preceding siblings ...)
  2009-11-21 18:54 ` hubicka at ucw dot cz
@ 2009-11-23 22:04 ` hubicka at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2009-11-23 22:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hubicka at gcc dot gnu dot org  2009-11-23 22:04 -------
Fixed.


-- 

hubicka at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-23 22:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-21  2:32 [Bug middle-end/42127] New: Verify_flow_info: Wrong frequency of block. Profiled bootstrap failed d dot g dot gorbachev at gmail dot com
2009-11-21 13:40 ` [Bug middle-end/42127] " d dot g dot gorbachev at gmail dot com
2009-11-21 17:37 ` b3timmons at speedymail dot org
2009-11-21 18:54 ` hubicka at ucw dot cz
2009-11-23 22:04 ` hubicka at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).