--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-06
00:29 ---
Fixed in 4.0.1.
--
What|Removed |Added
Status|NEW |RESOL
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-25
00:09 ---
Subject: Bug 20879
CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-04-25 00:09:17
Modified files:
gcc/fortran: Change
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-25
00:09 ---
Subject: Bug 20879
CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-04-25 00:09:17
Modified files:
gcc/fortran: Change
--- Additional Comments From tobi at gcc dot gnu dot org 2005-04-24 23:51
---
The checks in gfc_simplify_ichar (_iachar) don't catch this because they only
look at the string length if the expression is constant.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20879
--- Additional Comments From pbrook at gcc dot gnu dot org 2005-04-24
14:23 ---
The original testcase can (and should) be checked at compile time. The argument
is a simple variable of known length.
The error should be unconditional (ie. not just when -pedantic is specified)
--
http:/
--- Additional Comments From kargl at gcc dot gnu dot org 2005-04-24 04:04
---
Here's a partial fix to the problem. Unfortunately, it
doesn't detect the problem in Joost's program, which
requires a runtime check.
http://gcc.gnu.org/ml/gcc-patches/2005-04/msg02507.html
--
http://gc