This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/81463] New: [8 Regression] ICE in scale_loop_profile at gcc/cfgloopmanip.c:603
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 17 Jul 2017 07:56:26 +0000
- Subject: [Bug tree-optimization/81463] New: [8 Regression] ICE in scale_loop_profile at gcc/cfgloopmanip.c:603
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81463
Bug ID: 81463
Summary: [8 Regression] ICE in scale_loop_profile at
gcc/cfgloopmanip.c:603
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: hubicka at ucw dot cz
Target Milestone: ---
Following ICEs:
$ ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/l_fma_run_float_2.c
-Ofast -fno-guess-branch-probability
...
during GIMPLE pass: vect
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/l_fma_2.h: In
function ‘test_neg_add_noneg_add’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/l_fma_2.h:70:1:
internal compiler error: in probability_in_gcov_type, at profile-count.h:215
test_neg_add_noneg_add (TYPE *a, TYPE *b, TYPE *c, TYPE *d, int n)
^~~~~~~~~~~~~~~~~~~~~~
0x76bc31 profile_probability::probability_in_gcov_type(long, long)
../../gcc/profile-count.h:215
0x76bc31 scale_loop_profile(loop*, profile_probability, long)
../../gcc/cfgloopmanip.c:603
0xe34be5 vect_do_peeling(_loop_vec_info*, tree_node*, tree_node*, tree_node**,
int, bool, bool)
../../gcc/tree-vect-loop-manip.c:1772
0xe27c90 vect_transform_loop(_loop_vec_info*)
../../gcc/tree-vect-loop.c:7316
0xe46d43 vectorize_loops()
../../gcc/tree-vectorizer.c:745