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] |
Regression-tested. OK for trunk?
2011-11-29 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/51338 * dependency.c (are_identical_variables): Handle case where end fields of substring references are NULL.
2011-11-29 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/51338 * gfortran.dg/assumed_charlen_substring_1.f90: New test. + /* This can only happen for assumed-length character arguments. + If both are NULL, the end length compares equal, because we + are looking at the same variable. */ + if (r1->u.ss.end == NULL&& r2->u.ss.end == NULL) + break;
+ /* If both are NULL, the end length compares equal, because we + are looking at the same variable. This can only happen for + assumed- or deferred-length character arguments. */
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |