http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46705
Summary: Spurious "Missing '&' in continued character constant"
warning occurs twice
Product: gcc
Version: fortran-dev
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: [email protected]
ReportedBy: [email protected]
> uname -a
Linux loanamd27 2.6.11.4-20a-smp #1 SMP Wed Mar 23 21:52:37 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux
> gfortran --version
GNU Fortran (GCC) 4.6.0 20101120 (experimental)
> cat contin_char.f90
1 FORMAT (''&
)
END
> gfortran -Wampersand contin_char.f90
contin_char.f90:2.8:
)
1
Warning: Missing '&' in continued character constant at (1)
contin_char.f90:2.8:
)
1
Warning: Missing '&' in continued character constant at (1)