This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/46705] New: Spurious "Missing '&' in continued character constant" warning occurs twice


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: unassigned@gcc.gnu.org
        ReportedBy: mathewc@nag.co.uk


> 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]