Issue 178481
Summary [Flang] Preprocessor behaving differen
Labels flang
Assignees
Reporter mjklemm
    Flang's preprocessor behaves differently than GFortran's preprocessor for this code snippet:

```Fortran
#define OMP_DECLARE_TARGET $OMP declare target
subroutine S
  !OMP_DECLARE_TARGET
end subroutine S
```
Expected output would be this (`gfortran -cpp -E s.F90`):

```Fortran
subroutine S
  !$OMP declare target
end subroutine S
```

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to