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/30207] [4.2/4.3 Regression] ICE in gfc_dep_resolver with where (a < 0) a(:) = 1



------- Comment #6 from sayle at gcc dot gnu dot org  2006-12-17 18:28 -------
Subject: Bug 30207

Author: sayle
Date: Sun Dec 17 18:28:07 2006
New Revision: 119990

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119990
Log:
2006-12-17  Roger Sayle  <roger@eyesopen.com>
            Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/30207
        * dependency.c (gfc_full_array_ref_p): New function to test whether
        the given array ref specifies the entire array.
        (gfc_dep_resolver): Use gfc_full_array_ref_p to analyze AR_FULL
        array refs against AR_SECTION array refs, and vice versa.
        * dependency.h (gfc_full_array_ref_p): Prototype here.
        * trans-array.c (gfc_conv_expr_descriptor): Use gfc_full_array_ref_p.

        * gfortran.fortran-torture/execute/where21.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.fortran-torture/execute/where21.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/dependency.c
    trunk/gcc/fortran/dependency.h
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30207


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