This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/67615] ICE on using arithmetic if with array instead of scalar


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67615

--- Comment #5 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Sep 21 18:09:13 2015
New Revision: 227981

URL: https://gcc.gnu.org/viewcvs?rev=227981&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:
    trunk/gcc/testsuite/gfortran.dg/pr67615.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]