This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Redesign jump threading profile updates
- From: Steve Ellcey <sellcey at mips dot com>
- To: Teresa Johnson <tejohnson at google dot com>
- Cc: Christophe Lyon <christophe dot lyon at linaro dot org>, Sebastian Pop <sebpop at gmail dot com>, Jeff Law <law at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>, David Li <davidxl at google dot com>
- Date: Wed, 1 Oct 2014 15:46:07 -0700
- Subject: Re: [PATCH] Redesign jump threading profile updates
- Authentication-results: sourceware.org; auth=none
- References: <CAAe5K+XWZEJPkhnM_2TFmh0VN9u_qXpVGfddUZ71YZkD8kMfXg at mail dot gmail dot com>
On Wed, 2014-10-01 at 13:04 -0700, Teresa Johnson wrote:
> 2014-10-01 Teresa Johnson <tejohnson@google.com>
>
> * tree-ssa-threadupdate.c (freqs_to_counts_path): Scale frequencies
> up when synthesizing counts to avoid rounding errors.
I tried this patch on my MIPS toolchain build but GCC is still failing
while building glibc.
iconv_open.c: In function 'iconv_open':
iconv_open.c:32:1: error: verify_flow_info: Wrong probability of edge
14->18 -920374544
iconv_open (const char *tocode, const char *fromcode)
^
iconv_open.c:32:1: error: verify_flow_info: Wrong probability of edge
14->19 -903724544
iconv_open.c:32:1: internal compiler error: verify_flow_info failed
0x626a70 verify_flow_info()
/scratch/sellcey/repos/nightly/src/gcc/gcc/cfghooks.c:260
0x9f36e4 cleanup_tree_cfg_noloop
/scratch/sellcey/repos/nightly/src/gcc/gcc/tree-cfgcleanup.c:765
0x9f36e4 cleanup_tree_cfg()
/scratch/sellcey/repos/nightly/src/gcc/gcc/tree-cfgcleanup.c:814
0x8eeff4 execute_function_todo
/scratch/sellcey/repos/nightly/src/gcc/gcc/passes.c:1704
0x8efb23 execute_todo
/scratch/sellcey/repos/nightly/src/gcc/gcc/passes.c:1808
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.