This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/68592] New: [6 Regression] ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1403 with -fprofile-generate
- From: "miyuki at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 28 Nov 2015 01:01:22 +0000
- Subject: [Bug tree-optimization/68592] New: [6 Regression] ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1403 with -fprofile-generate
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68592
Bug ID: 68592
Summary: [6 Regression] ICE in vect_get_vec_def_for_operand, at
tree-vect-stmts.c:1403 with -fprofile-generate
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: miyuki at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Build: x86_64-pc-linux-gnu
This ICE started to show up during LTO build of 416.gamess with
-fprofile-generate.
r230895 - OK
r230981 - ICE
$ cat gamess_min.f
PARAMETER (MXCPGA=320,ZERO=0.0)
DIMENSION CPNORM(MXCPGA),CDNORM(MXCPGA),
* CFNORM(MXCPGA)
KTYPIL = KTYPI()
DO 84 K=1,NOGTF
LMP=LMP+1
CFNORM(LMP)=ZERO
IF (KTYPIL.EQ.1) LMP=CMPILMP
IF (KTYPIL.EQ.2) CPNORM(LMP)=CMPILMP
IF (KTYPIL.EQ.3) CDNORM(LMP)=CMPILMP
IF (KTYPIL.EQ.4) LMP=CMPILMP
IF (KTYPIL.EQ.6) LMP=CMPILMP
84 CONTINUE
CALL MMPNOR(CPNORM,CDNORM,CFNORM)
END
$ f951 -Ofast -march=haswell -fprofile-generate -quiet gamess_min.f
gamess_min.f:1:0:
PARAMETER (MXCPGA=320,ZERO=0.0)
internal compiler error: in vect_get_vec_def_for_operand, at
tree-vect-stmts.c:1403
0xd777c9 vect_get_vec_def_for_operand(tree_node*, gimple*, tree_node*)
/home/miyuki/gcc/src/gcc/tree-vect-stmts.c:1403
0xd83629 vectorizable_conversion
/home/miyuki/gcc/src/gcc/tree-vect-stmts.c:3991
0xd8ed2a vect_transform_stmt(gimple*, gimple_stmt_iterator*, bool*, _slp_tree*,
_slp_instance*)
/home/miyuki/gcc/src/gcc/tree-vect-stmts.c:8049
0xd94f84 vect_transform_loop(_loop_vec_info*)
/home/miyuki/gcc/src/gcc/tree-vect-loop.c:6858
0xdb0a17 vectorize_loops()
/home/miyuki/gcc/src/gcc/tree-vectorizer.c:548
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.