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/30968] New: Bogus warning with continued lines of concatenated strings


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


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