This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30968] New: Bogus warning with continued lines of concatenated strings
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2007 13:11:18 -0000
- Subject: [Bug fortran/30968] New: Bogus warning with continued lines of concatenated strings
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following program gives a bogus warning when
compiled with -Wall or -std=f95 or -std=f2003:
program gfcbug59
print *, "Hello"&
// " World" ! Bogus warning with -Wall or -std=f95 or -std=f2003
end program gfcbug59
% gfc -Wall gfcbug59.f90
gfcbug59.f90:3.8:
// " World" ! Bogus warning with -Wall or -std=f95 or -std=f2003
1
Warning: Missing '&' in continued character constant at (1)
gfcbug59.f90:3.8:
// " World" ! Bogus warning with -Wall or -std=f95 or -std=f2003
1
Warning: Missing '&' in continued character constant at (1)
--
Summary: Bogus warning with continued lines of concatenated
strings
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: anlauf at gmx dot de
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30968