This is the mail archive of the gcc-patches@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]

[Patch, fortran] PR56852 - [4.8/4.9/5 Regression] ICE on invalid: "Bad array reference" for an undeclared loop variable


Dear All,

I intend to commit this patch tonight, unless there are objections. It
is safe, since it skips an ICE if the conditions in the ChangeLog are
met.

Bootstraps and regtests on x86_64/FC21.

Paul

2013-04-09  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/56852
    * primary.c (gfc_variable_attr): Avoid ICE on AR_UNKNOWN if any
    of the index variables are untyped and errors are present.

2013-04-09  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/56852
    * gfortran.dg/pr56852.f90 : New test

Attachment: commit.diff
Description: Text document


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