This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/78865] New: ICE in create_tmp_var, at gimple-expr.c:473
- From: "gerhard dot steinmetz dot fortran at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Dec 2016 18:28:38 +0000
- Subject: [Bug fortran/78865] New: ICE in create_tmp_var, at gimple-expr.c:473
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78865
Bug ID: 78865
Summary: ICE in create_tmp_var, at gimple-expr.c:473
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fortran@t-online.de
Target Milestone: ---
Affects version 7 down to at least 4.8, at -Os, -O2 or higher :
$ cat z1.f90
program p
call sub (3)
end
subroutine sub (x)
integer :: x, i, n
do i = 1, x
if ( n /= 0 ) stop
call sub2
end do
print *, x, n
end
subroutine sub2
call sub (*99)
99 stop
end
$ gfortran-7-20161218 -O2 z1.f90
z1.f90:3:0:
end
internal compiler error: in create_tmp_var, at gimple-expr.c:473
0x9acb93 create_tmp_var(tree_node*, char const*)
../../gcc/gimple-expr.c:473
0x9acbb8 create_tmp_reg(tree_node*, char const*)
../../gcc/gimple-expr.c:489
0x1369556 split_function
../../gcc/ipa-split.c:1664
0x1369556 execute_split_functions
../../gcc/ipa-split.c:1865