re PR fortran/31266 (Spurious(?) warning about character truncation)
authorTobias Schlüter <tobi@gcc.gnu.org>
Thu, 12 Apr 2007 18:10:10 +0000 (20:10 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Thu, 12 Apr 2007 18:10:10 +0000 (20:10 +0200)
commite8a25349277ba07e340785c2e03d1ad42ae91763
tree550df545c484ecad51d5eaf3a1dc655c91c223a0
parent690af37922ff3399d545d03196867ad1424c14aa
re PR fortran/31266 (Spurious(?) warning about character truncation)

PR fortran/31266
fortran/
* primary.c (gfc_variable_attr): Don't copy string length if it
doesn't make sense.
* resolve.c (resolve_code): Clarify error message.
testsuite/
* gfortran.dg/char_assign_1.f90: New.

From-SVN: r123759
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog