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

            Bug ID: 67429
           Summary: [5/6 Regression] Missing part of error messages.
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: bur...@net-b.de, manu at gcc dot gnu.org
  Target Milestone: ---

When compiling the test in pr65045 with r218570 I get the errors

pr65045.f90:3.6:

 if (i>7.7) then
      1
Error: Symbol at (1) is not appropriate for an expression
pr65045.f90:5.7:

   else
       1
Error: Unexpected ELSE statement at (1)
pr65045.f90:6.6:

     i = 2.2
      1
Error: 'i' at (1) is not a variable
pr65045.f90:7.6:

   end if
      1
Error: Expecting END BLOCK statement at (1)
f951: internal compiler error: Segmentation fault: 11

f951: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Abort

With revision r218658, the errors are

pr65045.f90:3:6: Error: Symbol at (1) is not appropriate for an expression
pr65045.f90:5:7:

    else
       1
Error: Unexpected ELSE statement at (1)
pr65045.f90:6:6: Error: 'i' at (1) is not a variable
pr65045.f90:7:6:

    end if
      1
Error: Expecting END BLOCK statement at (1)
(null):0: confused by earlier errors, bailing out

Likely r218619 or r218627.

This may explain pr67174.

Reply via email to