This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] | |
Hello world,
this fixes PR 33539 by not issuing a warning for strings that have zero length. Regression-tested on i686-pc-linux-gnu.
No special test case needed; I just removed dg-warning lines from the places where they occurred in the testsuite.
OK? (Also OK with the approach of not warning)?
Cheers, - Tobi
Thomas
2007-10-04 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/33539 * resolve.c: Only warn if the string length is less than zero.
2007-10-04 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/33539 * zero_length_2.f90: Omit warning for zero-length string. * repeat_2.f90: Likewise. * repeat_4.f90: Likewise. * char_length_2.f90: Likewise.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |