This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/80395] New: verify_gimple fails with Error: invalid reference prefix with -O3 -finline-functions
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Apr 2017 13:24:39 +0000
- Subject: [Bug fortran/80395] New: verify_gimple fails with Error: invalid reference prefix with -O3 -finline-functions
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80395
Bug ID: 80395
Summary: verify_gimple fails with Error: invalid reference
prefix with -O3 -finline-functions
Product: gcc
Version: 7.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: zeccav at gmail dot com
Target Milestone: ---
Created attachment 41175
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41175&action=edit
To be compiled with -O3 and optionally -finline-functions
gfortran -S -O3 ~/f95/gfbug128.f -finline-functions
/home/vitti/f95/gfbug128.f:32:0:
SUBROUTINE CCHK6( SNAME, EPS, THRESH, NOUT, NTRA, TRACE, REWI,
Error: invalid reference prefix
MEM[base: yt_418(D), index: ivtmp.437_1019, step: 2, offset: 0B]
/home/vitti/f95/gfbug128.f:420:0:
YT( IY ) = ZERO
note: in statement
# .MEM_748 = VDEF <.MEM_722>
IMAGPART_EXPR <MEM[base: yt_418(D), index: ivtmp.437_1019, step: 2, offset:
0B]> = 0.0;
/home/vitti/f95/gfbug128.f:32:0:
SUBROUTINE CCHK6( SNAME, EPS, THRESH, NOUT, NTRA, TRACE, REWI,
internal compiler error: verify_gimple failed
0xbf501e verify_gimple_in_cfg(function*, bool)
../../gcc-trunk-246751/gcc/tree-cfg.c:5266
0xad86c6 execute_function_todo
../../gcc-trunk-246751/gcc/passes.c:1966
0xad9712 execute_todo
../../gcc-trunk-246751/gcc/passes.c:2016
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.