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

            Bug ID: 86566
           Summary: The preprocessor cpp6 loses line concatenation on
                    FreeBSD
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yuri at tsoft dot com
  Target Milestone: ---

How to repeat:
create the file a.f90 with this one line (it is also attached):
>     call iotk_strcat(string,trim(adjustl(tmpval))//" ",ierr)

Run the command:
> cpp8 a.f90 -o atmp.f90

The result isn't a valid fortran:
>      call iotk_strcat(string,trim(adjustl(tmpval))

The problem observed on gcc8 and gcc6.

The FreeBSD port bug report:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229855

Reply via email to