This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32707] Warn on mismatched character lengths in array
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2009 21:12:43 -0000
- Subject: [Bug fortran/32707] Warn on mismatched character lengths in array
- References: <bug-32707-9647@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dfranke at gcc dot gnu dot org 2009-01-03 21:12 -------
Fixed in trunk. Both testcases give:
$> gfortran-svn pr32707.f90
pr32707.f90:5.12:
xx = ["boy","girl"]
1
Error: Different CHARACTER lengths (3/4) in array constructor at (1)
Testcases are already present in the testsuite. Closing.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to fail| |4.3.2
Known to work| |4.4.0
Resolution| |FIXED
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32707