[Bug fortran/67615] New: ICE on using arithmetic if with array instead of scalar
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Thu Sep 17 18:06:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67615
Bug ID: 67615
Summary: ICE on using arithmetic if with array instead of
scalar
Product: gcc
Version: 5.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fortran@t-online.de
Target Milestone: ---
An arithmetic if with an array instead of a numeric scalar :
program p
integer :: z(1) = [1]
if ( z ) 1, 2, 3
1 stop 1
2 stop 2
3 stop 3
end
or this variation :
program p
integer :: z(2) = [1, 2]
if ( z ) 1, 2, 3
1 stop 1
2 stop 2
3 stop 3
end
yields :
internal compiler error: Segmentation fault
More information about the Gcc-bugs
mailing list