This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/67615] ICE on using arithmetic if with array instead of scalar
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 Sep 2015 18:25:24 +0000
- Subject: [Bug fortran/67615] ICE on using arithmetic if with array instead of scalar
- Auto-submitted: auto-generated
- References: <bug-67615-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67615
--- Comment #6 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Sep 21 18:24:52 2015
New Revision: 227982
URL: https://gcc.gnu.org/viewcvs?rev=227982&root=gcc&view=rev
Log:
2015-09-21 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/67615
* resolve.c (gfc_resolve_code): Check for scalar expression in
arithmetic-if.
2015-09-21 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/67615
* gfortran.dg/pr67615.f90: new test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr67615.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/resolve.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog