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/82721] New: Error message with corrupted text, sometimes ICE


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82721

            Bug ID: 82721
           Summary: Error message with corrupted text, sometimes ICE
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

This snippet (clearly invalid) gives a second error message
with randomly corrupted text :


$ cat z1.f90
program p
   real :: a, b(4)
   character(len(c)) :: b
end


$ gfortran-8-20171022 -c z1.f90
z1.f90:3:25:

    character(len(c)) :: b
                         1
Error: Symbol 'b' at (1) already has basic type of REAL
z1.f90:3:13:

    character(len(c)) :: b
             1
Error: '\xa8\x8e\x1f\x8e+' at (1) is not a function

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