[Bug fortran/30968] Bogus warning with continued lines of concatenated strings
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 26 17:11:00 GMT 2007
------- Comment #1 from burnus at gcc dot gnu dot org 2007-02-26 17:11 -------
Confirmed.
One needs the second "&" for:
"Hello&
& World"
But one does not need it for:
"Hello" &
, "World"
The following seems to be a gfortran/ifort extension:
"Hello&
World"
For this case, the warning / std error is correct.
The bug in gfortran is that "Hello" & is correctly seen as non-character
context whereas "Hello" & is wrongly regarded as character context.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |diagnostic, rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2007-02-26 17:11:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30968
More information about the Gcc-bugs
mailing list