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

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 21 18:25:00 GMT 2015


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



More information about the Gcc-bugs mailing list